[18:34] Looking for help with Ubuntu server 7x... new to linux os's so go easy, I'm linux iliterate... [18:36] Just installed yesterday for first time and wondering if there is a good gui available to simplify apache2, DNS and FTP servers [18:36] I configured gnome for OS gui, but thats all === nalioth changed the topic of #ubuntu-classroom to: Please join #ubuntu for support | This channel used for scheduled classes and invitational tutoring | Ubuntu Open Week info: Information and Logs: https://wiki.ubuntu.com/UbuntuOpenWeek | Ubuntu classroom transcripts: https://wiki.ubuntu.com/ClassroomTranscripts [21:47] :) [21:47] ubuntu1337: how old is your mum's computer exactly? [21:47] Actually, roughly will be good enough :) [21:50] soundray [21:50] i do not know [21:50] we bought it used a couple years ago, i believe [21:50] i would estimate... 4 years [21:51] ubuntu1337: okay, so a few years. I think it could be very useful to dual-boot it with Ubuntu -- just forget about the effects thing. [21:51] Too late, dang :) [22:02] What is this? [22:05] newbee: there you are :) [22:06] soundray: my bad sorry [22:06] newbee: do a 'sudo fdisk -l' in the terminal please [22:06] soundray: yah im here [22:06] newbee: what's the topmost line that says "Linux" under "System"? [22:06] What an awesome idea, Ubuntu classroom, that's brilliant. I had no idea such a place existed, had to check it out. Been with Linux a year and a half. Persevere with any difficulties, it's the best switch you'll ever make :) [22:07] i didsoundray: i [22:07] newbee: just tell me the device please [22:07] soundray: i did :) [22:07] soundray: then? [22:07] newbee: tell me again please [22:08] soundray: sda2 [22:08] newbee: okay, enter 'sudo mount /dev/sda2 /mnt'. It should come back with a prompt. [22:09] newbee: then enter 'ls' -- do you see items like bin, boot, dev, etc? [22:09] newbee: sry [22:09] newbee: then enter 'ls /mnt' -- do you see items like bin, boot, dev, etc? [22:10] soundray: when i wrote it says "cant find /dev/sda2/mnt in /etc/fstrab/ or /etc/mtab" [22:10] newbee: you have to be careful and enter *all* the spaces [22:10] newbee: okay, enter 'sudo mount /dev/sda2 /mnt'. [22:12] soundray: sudo mount /dev/sda2 /mnt nothing happening i feel like im stupid in here [22:12] newbee: enter 'ls /mnt' -- do you see items like bin, boot, dev, etc? [22:12] newbee: nothing happening is good, usually [22:13] im writng sudo*mount*/dev/sda2*/mnt [22:13] soundray: im writng sudo*mount*/dev/sda2*/mnt [22:14] newbee: silence means success, so everything is good. Go on to the next step: ls /mnt [22:14] soundray: oh yes i can see now :) thanks :) [22:14] I rather like trolls. [22:15] I don't think much of naughty irc-ops, though. [22:15] soundray: i can see bin root and etc.. [22:15] newbee, typing "mount" shows you currently mounted file-systems [22:15] newbee: do a 'cd /mnt/boot/grub' now. Silence means success [22:16] nareshov: are you sure this is helpful right now? [22:16] not sure, carry on. I'll just watch [22:16] soundray: it says "no such file or directory" [22:16] ubuntu1337: the same rules apply in here, as in #ubuntu [22:17] newbee: what does 'ls /mnt/boot' say? There should be items like vmlinuz-2.6.22-14 etc. [22:19] soundray: it says "vmlinuz-2.6.22-14-generic [22:19] soundray: it says "vmlinuz-2.6.22-14-generic" [22:20] newbee: good. Is there also an item called 'grub'? [22:20] i cant see anything writes grub lately [22:20] soundray: i cant see anything writes grub lately [22:22] newbee: okay. Please do a 'sudo chroot /mnt bash'. The prompt should now be a # instead of a $. Correct? [22:22] soundray: yyeah [22:23] newbee: now enter 'apt-get install grub'. Any errors? [22:23] soundray: done [22:23] soundray: it says "grab is already new version" [22:24] soundray: no errors [22:24] newbee: okay, we have to force it then: 'apt-get --reinstall install grub'. Any errors? [22:25] i have major hacking skillz [22:26] soundray: would u put * instead of spaces? [22:26] newbee: okay, we have to force it then: 'apt-get*--reinstall*install*grub' [22:27] soundray: thanks its done now :):) [22:27] soundray: hops [22:28] newbee: we'll soon find out: 'cd /boot/grub/' [22:28] (:D) [22:28] I'll put several spaces instead of * -- we might need a * later [22:28] soundray: sorry i miss read .. "reinstallation of grub is not possbile it can not be downloaded [22:29] newbee: how do you chat -- separate computer? [22:29] soundray: no with the same computer [22:29] newbee: with Ubuntu? [22:29] soundray: yeah [22:30] newbee: so it's not a network problem. Open another terminal now and enter 'cd /mnt/var/cache/apt/archives/' [22:31] soundray: u want me to open a one more terminal? should i close the old one? [22:31] newbee: no, we just need a second one [22:32] soundray: yeah i did [22:33] soundray: i wrote ... archives/ [22:33] newbee: are you installing the 32bit or 64bit version of ubuntu? [22:33] 86x [22:33] soundray: im sorry but i ve no idea [22:34] soundray: i guess its 32 bit its a bit old computer [22:34] newbee: type uname -a to be sure -- it says either i386 or x86_64 [22:35] i 686 [22:35] soundray: i686 [22:35] newbee: good [22:36] Now type 'wget http://archive.ubuntu.com/ubuntu/pool/main/g/grub/grub_0.97-29ubuntu4_i386.deb' [22:38] newbee: the only space is after wget [22:39] soundray: it says "resolving archive..... " [22:40] newbee: no change? [22:40] soundray: then "can not write to grub_0.97......deb (permission denied)" [22:41] newbee: okay, get the command back with the up arrow, go to the beginning of the line and change it so it says 'sudo wget http...' instead of 'wget http...' [22:42] soundray: its done :) downloaded [22:42] :) [22:43] Now 'dpkg -i grub_0.97*' [22:43] Any errors? [22:44] soundray:* means space or *? [22:44] newbee: * means * [22:45] soundray: "requested operation requires superuser privilege [22:45] soundray: it says "requested operation requires superuser privilege " [22:45] Okay, we need to do it in the other window. [22:46] soundray: old window or the 3.th one? [22:46] newbee: actually, in the other window, go back to the 'apt-get ...' command with the Up arrow key. [22:46] newbee: and hit return to run it again. [22:47] soundray: i re enter my last command in 1st terminal window as u said apt-get-... reinstall install grub but it cant be downloaded again [22:48] my advice: [22:48] pour gasoline on the damn thing and ignite. [22:49] ubuntu1337: thats not helpful [22:49] newbee: do a 'dpkg -i /var/cache/apt/archives/grub_0.97*' [22:49] no sudo this time, as you have a root shell already. [22:51] soundray: no errors last words " setting up grub (0.97-29ubuntu4) [22:51] soundray: no errors last words " setting up grub (0.97-29ubuntu4)" [22:52] Good. Try again 'cd /boot/grub' in the same terminal [22:53] soundray: it says "bash: cd: /boot/grub: no such file or directory" [22:54] care -_- [22:55] newbee: what do you get from 'update-grub'? [22:57] you should care [22:57] soundray: when i wrote "update-grub" it says "no grub directory found. to create template run 'mkdir /boot/grub" first to install grub, install it manually or try the 'grub-install'command. and a warning grub-install is used to change ur MBR" [22:59] newbee: okay, that's what we'll do: 'mkdir /boot/grub' [22:59] soundray: slience scces?? [22:59] newbee: yes [22:59] soundray: yes :) then :) [22:59] Now 'grub-install (hd0)' [23:00] soundray: it says "syntax error near unexpected token 'hd0'" [23:01] Yes... 'grub-install /dev/sda' [23:03] soundray: it says " /dev/sda not found or not a block device" [23:04] hmm. Try in the other terminal window. We have to change the syntax: [23:04] 'sudo grub-install --root-directory=/mnt /dev/sda' [23:04] soundray: second window? im going to write the same thing? [23:04] soundray: in second window or 1st window? [23:05] newbee: the second, the one with the $ prompt [23:08] soundray: long story appear on screen [23:09] newbee: can you paste it to http://paste.ubuntu-nl.org ? [23:09] i cant copy from terminal:( [23:10] soundray: oh i copy it :):):) [23:10] newbee: just highlight the message with the mouse and use the middle button... [23:10] well done. What's the URL? [23:10] soundray: cntl+c dont work lol it works with button [23:11] soundray: http://paste.ubuntu-nl.org/44551/ [23:13] Can you check the command again, and make sure that the last part is really /dev/sda [23:13] 'sudo grub-install --root-directory=/mnt /dev/sda' [23:14] soundray: here is the same paste with my command http://paste.ubuntu-nl.org/44552/ [23:15] newbee: it has to be /dev/sda (not dev/sda) [23:16] soundray: im really feel stupid [23:16] newbee: don't. It takes time to get used to how picky Linux can be :) [23:16] soundray: it says "/dev/sda does not have any corresponding BIOS drive." [23:17] We'll use the other name then [23:17] 'sudo grub-install --root-directory=/mnt '(hd0)' ' [23:17] You need to enter '(hd0)' with the single ticks [23:19] soundray: can u write it between " " so i can paste it correctly. i did not know copy paste would work, [23:20] " sudo grub-install --root-directory=/mnt '(hd0)' " [23:20] soundray: it says "/dev/sda does not have any corresponding BIOS drive." [23:22] newbee: " echo '(hd0) /dev/sda' >/boot/grub/device.map' " [23:23] After that, get the grub-install command back with the Up arrow key and enter it again [23:23] sorry, mistake [23:24] newbee: " echo '(hd0) /dev/sda' >/boot/grub/device.map " [23:25] soundray: > ? [23:25] There was an extra tick in the previous one [23:26] soundray: oh i should not put a tick at the end is it? [23:26] newbee: that's right [23:26] soundray: bash: syntax error near unexpected token `(' [23:27] soundray: bash: it says "syntax error near unexpected token `('" [23:27] soundray:it says " bash: syntax error near unexpected token `('" [23:27] You do need the ticks before (hd0) and after /dev/sda [23:28] soundray: this is what i wrote "echo '(hd0) /dev/sda' >/boot/grub/device.map' [23:28] > echo '(hd0) /dev/sda' >/boot/grub/device.map [23:28] " [23:28] newbee: something went wrong -- hit Ctrl-C until you get the # prompt again [23:29] soundray this is " ubuntu@ubuntu:/mnt/var/cache/apt/archives$ echo '(hd0) /dev/sda' >/boot/grub/device.map [23:29] bash: /boot/grub/device.map: No such file or directory [23:29] ubuntu@ubuntu:/mnt/var/cache/apt/archives$ [23:29] " [23:30] soundray: which terminal i should wrote? $ or # = [23:30] ? [23:30] The # one [23:31] soundray: slience success? [23:31] Yes [23:31] soundray: im sorryi was writng at $ [23:31] soundray now we ar e ok [23:32] Okay, if the next step doesn't work now, I won't know what to do... [23:32] soundray: i should start to pray god [23:32] At the $ prompt, get the old command back: [23:32] soundray: :):):) [23:32] " sudo grub-install --root-directory=/mnt '(hd0)' " [23:34] soundray: http://paste.ubuntu-nl.org/44554/ [23:35] It's looking good [23:35] soundray: we all done? [23:36] Difficult process though... [23:36] I think you can risk a reboot [23:36] Hold on... [23:36] soundray: its still difficult for me, i ve no idea what amn i doing :):):) [23:36] There is one thing we should check... [23:37] soundray: ok im holding [23:37] At the # prompt: 'ls /boot/grub/menu.lst' [23:37] soundray: with ' ? [23:38] no [23:39] soundray: it says " root@ubuntu:/# ls /boot/grub/menu.lst [23:39] ls: /boot/grub/menu.lst: No such file or directory [23:39] " [23:39] I see... we have to create a boot menu. [23:40] what ?f we failed :):) [23:40] Can you pastebin the output of 'ls /boot/grub/' please [23:41] http://paste.ubuntu-nl.org/44555/ [23:41] soundray: http://paste.ubuntu-nl.org/44555/ [23:41] Only 'ls /boot/grub/' please [23:42] http://paste.ubuntu-nl.org/44556/ [23:43] Okay. Now you should run 'update-grub' at the # prompt. Say 'Y' when it asks you if you want to create a menu.lst [23:44] its done [23:45] newbee: good. If you reboot now, I'm pretty sure you'll be able to boot into Ubuntu. [23:46] newbee: see if there is a menu entry for Windows as well. If not, that can be added. Ask in #ubuntu again for how to do that. [23:46] soundray: what if it wont open. i dont care about if it open or not anymore. i want to thank u later thousands times cuz u really helpfull i feel myself i dunno how to thank [23:46] soundray: i want it open cuz i dont want to lose u , u really good friend [23:47] newbee: don't worry about it, it was a good challenge [23:47] soundray: im afraid if my pc wont open i will not be able to onlline for today and i wont be able to see u again [23:47] soundray: ok thanks alot for all the things [23:48] Of course I'm not a 100% sure that it'll boot now, but I'll hang around for a few minutes to see if you log in again. Okay? [23:48] soundray: i hope so, its pretty late in here. if it wont open i will go to sleep [23:48] I see, where are you? [23:49] soundray: turkey its 2am [23:49] soundray: izmir where re u? [23:49] newbee: okay -- good night if I don't see you. Near London, England (23.49 here) [23:50] soundray: if u mid i can give u my msn adress, i dunno how to but maybe oneday i will have a chance to thank u :) [23:50] Good morning everyone! I am from China, a new member here [23:51] newbee: I'm not on MSN. Let's see now if I have really helped you :) [23:51] soundray: ok. but before i go i want to ask u something [23:52] Yes? [23:52] soundray: u know all the codes? or u looking from anywhere? [23:53] Most of what I told you I know because I've used these methods to fix problems of my own. But if you're looking for ways to solve problems, the Ubuntu forums and wiki are really useful. [23:54] I've installed Ubuntu about 30 times on very different systems [23:55] soundray: oh, u should be a rocket scientist lol, the codes are really hard to use. im sure i will need help for second time, im sure i will need help even if im installing for 102nt time :):) [23:55] And I started using grub when it was not released yet [23:55] I'm a brain scientist by day :) [23:56] whatever i keep u busy so long. thanks alot for the help now im going to boot my pc [23:56] Good luck! [23:56] i hope it will work [23:56] thanks alot again and again [23:56] take care [23:56] Me too