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