/srv/irclogs.ubuntu.com/2007/11/14/#ubuntu-classroom.txt

CoastsideLooking for help with Ubuntu server 7x... new to linux os's so go easy, I'm linux iliterate...18:34
CoastsideJust installed yesterday for first time and wondering if there is a good gui available to simplify apache2, DNS and FTP servers18:36
CoastsideI configured gnome for OS gui, but thats all18: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
soundrayubuntu1337: how old is your mum's computer exactly?21:47
soundrayActually, roughly will be good enough :)21:47
ubuntu1337soundray21:50
ubuntu1337i do not know21:50
ubuntu1337we bought it used a couple years ago, i believe21:50
ubuntu1337i would estimate... 4 years21:50
soundrayubuntu1337: 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
soundrayToo late, dang :)21:51
ubuntu1337What is this?22:02
soundraynewbee: there you are :)22:05
newbeesoundray: my bad sorry22:06
soundraynewbee: do a 'sudo fdisk -l' in the terminal please22:06
newbeesoundray: yah im here22:06
soundraynewbee: what's the topmost line that says "Linux" under "System"?22:06
OldPinkWhat 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
newbeei didsoundray: i22:07
soundraynewbee: just tell me the device please22:07
newbeesoundray: i did :)22:07
newbeesoundray: then?22:07
soundraynewbee: tell me again please22:07
newbeesoundray: sda222:08
soundraynewbee: okay, enter 'sudo mount /dev/sda2 /mnt'. It should come back with a prompt.22:08
soundraynewbee: then enter 'ls' -- do you see items like bin, boot, dev, etc?22:09
soundraynewbee: sry22:09
soundraynewbee: then enter 'ls /mnt' -- do you see items like bin, boot, dev, etc?22:09
newbeesoundray:  when i wrote it says "cant find /dev/sda2/mnt in /etc/fstrab/ or /etc/mtab"22:10
soundraynewbee: you have to be careful and enter *all* the spaces22:10
soundraynewbee: okay, enter 'sudo mount /dev/sda2 /mnt'.22:10
newbeesoundray: sudo mount /dev/sda2 /mnt nothing happening  i feel like im stupid in here22:12
soundraynewbee: enter 'ls /mnt' -- do you see items like bin, boot, dev, etc?22:12
soundraynewbee: nothing happening is good, usually22:12
newbeeim writng sudo*mount*/dev/sda2*/mnt22:13
newbeesoundray: im writng sudo*mount*/dev/sda2*/mnt22:13
soundraynewbee: silence means success, so everything is good. Go on to the next step: ls /mnt22:14
newbeesoundray: oh yes i can see now :) thanks :)22:14
ubuntu1337I rather like trolls.22:14
ubuntu1337I don't think much of naughty irc-ops, though.22:15
newbeesoundray: i can see bin root and etc..22:15
nareshovnewbee, typing "mount" shows you currently mounted file-systems22:15
soundraynewbee: do a 'cd /mnt/boot/grub' now. Silence means success22:15
soundraynareshov: are you sure this is helpful right now?22:16
nareshovnot sure, carry on. I'll just watch22:16
newbeesoundray: it says "no such file or directory"22:16
naliothubuntu1337: the same rules apply in here, as in #ubuntu22:16
soundraynewbee: what does 'ls /mnt/boot' say? There should be items like vmlinuz-2.6.22-14 etc.22:17
newbeesoundray: it says "vmlinuz-2.6.22-14-generic22:19
newbeesoundray: it says "vmlinuz-2.6.22-14-generic"22:19
soundraynewbee: good. Is there also an item called 'grub'?22:20
newbeei cant see anything  writes grub lately22:20
newbeesoundray: i cant see anything  writes grub lately22:20
soundraynewbee: okay. Please do a 'sudo chroot /mnt bash'. The prompt should now be a # instead of a $. Correct?22:22
newbeesoundray: yyeah22:22
soundraynewbee: now enter 'apt-get install grub'. Any errors?22:23
newbeesoundray: done22:23
newbeesoundray: it says "grab is already new version"22:23
newbeesoundray: no errors22:24
soundraynewbee: okay, we have to force it then: 'apt-get --reinstall install grub'. Any errors?22:24
ubuntu1337i have major hacking skillz22:25
newbeesoundray: would u put * instead of spaces?22:26
soundraynewbee: okay, we have to force it then: 'apt-get*--reinstall*install*grub'22:26
newbeesoundray: thanks its done now :):)22:27
newbeesoundray: hops22:27
soundraynewbee: we'll soon find out: 'cd    /boot/grub/'22:28
nareshov(:D)22:28
soundrayI'll put several spaces instead of * -- we might need a * later22:28
newbeesoundray: sorry i miss read .. "reinstallation of grub is not possbile it can not be downloaded22:28
soundraynewbee: how do you chat -- separate computer?22:29
newbeesoundray: no with the same computer22:29
soundraynewbee: with Ubuntu?22:29
newbeesoundray: yeah22:29
soundraynewbee: so it's not a network problem. Open another terminal now and enter 'cd   /mnt/var/cache/apt/archives/'22:30
newbeesoundray: u want me to open a one more terminal? should i close the old one?22:31
soundraynewbee: no, we just need a second one22:31
newbeesoundray: yeah  i did22:32
newbeesoundray: i wrote  ... archives/22:33
soundraynewbee: are you installing the 32bit or 64bit version of ubuntu?22:33
ubuntu133786x22:33
newbeesoundray: im sorry but i ve no idea22:33
newbeesoundray: i guess its 32 bit its a bit old computer22:34
soundraynewbee: type uname -a to be sure -- it says either i386 or x86_6422:34
newbeei 68622:35
newbeesoundray: i68622:35
soundraynewbee: good22:35
soundrayNow type 'wget http://archive.ubuntu.com/ubuntu/pool/main/g/grub/grub_0.97-29ubuntu4_i386.deb'22:36
soundraynewbee: the only space is after wget22:38
newbeesoundray: it says "resolving archive..... "22:39
soundraynewbee: no change?22:40
newbeesoundray: then "can not write to grub_0.97......deb (permission denied)"22:40
soundraynewbee: 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
newbeesoundray: its done :) downloaded22:42
soundray:)22:42
soundrayNow 'dpkg   -i   grub_0.97*'22:43
soundrayAny errors?22:43
newbeesoundray:* means space or *?22:44
soundraynewbee: * means *22:44
newbeesoundray: "requested operation requires superuser privilege22:45
newbeesoundray: it says "requested operation requires superuser privilege "22:45
soundrayOkay, we need to do it in the other window.22:45
newbeesoundray: old window or the 3.th one?22:46
soundraynewbee: actually, in the other window, go back to the 'apt-get ...' command with the Up arrow key.22:46
soundraynewbee: and hit return to run it again.22:46
newbeesoundray: i re enter my last command in 1st terminal window as u said apt-get-... reinstall install grub but it cant be downloaded again22:47
ubuntu1337my advice:22:48
ubuntu1337pour gasoline on the damn thing and ignite.22:48
ikoniaubuntu1337: thats not helpful22:49
soundraynewbee: do a 'dpkg    -i   /var/cache/apt/archives/grub_0.97*'22:49
soundrayno sudo this time, as you have a root shell already.22:49
newbeesoundray: no errors last words " setting up grub (0.97-29ubuntu4)22:51
newbeesoundray: no errors last words " setting up grub (0.97-29ubuntu4)"22:51
soundrayGood. Try again 'cd /boot/grub' in the same terminal22:52
newbeesoundray: it says "bash: cd: /boot/grub: no such file or directory"22:53
ubuntu1337care -_-22:54
soundraynewbee: what do you get from 'update-grub'?22:55
ikoniayou should care22:57
newbeesoundray: 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
soundraynewbee: okay, that's what we'll do: 'mkdir   /boot/grub'22:59
newbeesoundray: slience scces??22:59
soundraynewbee: yes22:59
newbeesoundray: yes :) then :)22:59
soundrayNow 'grub-install    (hd0)'22:59
newbeesoundray: it says "syntax error near unexpected token 'hd0'"23:00
soundrayYes... 'grub-install   /dev/sda'23:01
newbeesoundray: it says " /dev/sda not found or not a block device"23:03
soundrayhmm. 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
newbeesoundray: second window? im going to write the same thing?23:04
newbeesoundray: in second window or 1st window?23:04
soundraynewbee: the second, the one with the $ prompt23:05
newbeesoundray: long story appear on screen23:08
soundraynewbee: can you paste it to http://paste.ubuntu-nl.org ?23:09
newbeei cant copy from terminal:(23:09
newbeesoundray: oh i copy it :):):)23:10
soundraynewbee: just highlight the message with the mouse and use the middle button...23:10
soundraywell done. What's the URL?23:10
newbeesoundray: cntl+c dont work  lol it works with button23:10
newbeesoundray: http://paste.ubuntu-nl.org/44551/23:11
soundrayCan you check the command again, and make sure that the last part is really /dev/sda23:13
soundray'sudo    grub-install   --root-directory=/mnt    /dev/sda'23:13
newbeesoundray: here is the same paste with my command http://paste.ubuntu-nl.org/44552/23:14
soundraynewbee: it has to be /dev/sda   (not dev/sda)23:15
newbeesoundray: im really feel stupid23:16
soundraynewbee: don't. It takes time to get used to how picky Linux can be :)23:16
newbeesoundray: it says "/dev/sda does not have any corresponding BIOS drive."23:16
soundrayWe'll use the other name then23:17
soundray'sudo    grub-install   --root-directory=/mnt    '(hd0)'   '23:17
soundrayYou need to enter '(hd0)' with the single ticks23:17
newbeesoundray: 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
newbeesoundray: it says "/dev/sda does not have any corresponding BIOS drive."23:20
soundraynewbee: " echo   '(hd0)    /dev/sda'   >/boot/grub/device.map'  "23:22
soundrayAfter that, get the grub-install command back with the Up arrow key and enter it again23:23
soundraysorry, mistake23:23
soundraynewbee: " echo   '(hd0)    /dev/sda'   >/boot/grub/device.map  "23:24
newbeesoundray: >  ?23:25
soundrayThere was an extra tick in the previous one23:25
newbeesoundray: oh i should not put a tick at the end is it?23:26
soundraynewbee: that's right23:26
newbeesoundray: bash: syntax error near unexpected token `('23:26
newbeesoundray: bash: it says "syntax error near unexpected token `('"23:27
newbeesoundray:it says " bash:  syntax error near unexpected token `('"23:27
soundrayYou do need the ticks before (hd0) and after /dev/sda23:27
newbeesoundray: this is what i wrote "echo '(hd0) /dev/sda' >/boot/grub/device.map'23:28
newbee> echo '(hd0) /dev/sda' >/boot/grub/device.map23:28
newbee"23:28
soundraynewbee: something went wrong -- hit Ctrl-C until you get the # prompt again23:28
newbeesoundray this is " ubuntu@ubuntu:/mnt/var/cache/apt/archives$ echo '(hd0) /dev/sda' >/boot/grub/device.map23:29
newbeebash: /boot/grub/device.map: No such file or directory23:29
newbeeubuntu@ubuntu:/mnt/var/cache/apt/archives$23:29
newbee"23:29
newbeesoundray: which terminal i should wrote? $ or # =23:30
newbee?23:30
soundrayThe # one23:30
newbeesoundray: slience success?23:31
soundrayYes23:31
newbeesoundray: im sorryi was writng at $23:31
newbeesoundray now we ar e ok23:31
soundrayOkay, if the next step doesn't work now, I won't know what to do...23:32
newbeesoundray: i should start to pray god23:32
soundrayAt the $ prompt, get the old command back:23:32
newbeesoundray: :):):)23:32
soundray " sudo    grub-install   --root-directory=/mnt    '(hd0)'   "23:32
newbeesoundray: http://paste.ubuntu-nl.org/44554/23:34
soundrayIt's looking good23:35
newbeesoundray: we all done?23:35
soundrayDifficult process though...23:36
soundrayI think you can risk a reboot23:36
soundrayHold on...23:36
newbeesoundray: its still difficult for me, i ve no idea what amn i doing :):):)23:36
soundrayThere is one thing we should check...23:36
newbeesoundray: ok im holding23:37
soundrayAt the # prompt:  'ls /boot/grub/menu.lst'23:37
newbeesoundray: with ' ?23:37
soundrayno23:38
newbeesoundray: it says " root@ubuntu:/# ls /boot/grub/menu.lst23:39
newbeels: /boot/grub/menu.lst: No such file or directory23:39
newbee"23:39
soundrayI see... we have to create a boot menu.23:39
newbeewhat ?f we failed :):)23:40
soundrayCan you pastebin the output of 'ls   /boot/grub/' please23:40
newbeehttp://paste.ubuntu-nl.org/44555/23:41
newbeesoundray: http://paste.ubuntu-nl.org/44555/23:41
soundrayOnly 'ls /boot/grub/' please23:41
newbeehttp://paste.ubuntu-nl.org/44556/23:42
soundrayOkay. Now you should run 'update-grub' at the # prompt. Say 'Y' when it asks you if you want to create a menu.lst23:43
newbeeits done23:44
soundraynewbee: good. If you reboot now, I'm pretty sure you'll be able to boot into Ubuntu.23:45
soundraynewbee: 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
newbeesoundray: 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 thank23:46
newbeesoundray: i want it open cuz i dont want to lose u , u really good friend23:46
soundraynewbee: don't worry about it, it was a good challenge23:47
newbeesoundray: im afraid if my pc wont open i will not be able to onlline for today and i wont be able to see u again23:47
newbeesoundray: ok thanks alot for all the things23:47
soundrayOf 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
newbeesoundray: i hope so, its pretty late in here. if it wont open i will go to sleep23:48
soundrayI see, where are you?23:48
newbeesoundray: turkey its 2am23:49
newbeesoundray: izmir  where re u?23:49
soundraynewbee: okay -- good night if I don't see you. Near London, England (23.49 here)23:49
newbeesoundray: 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
s1024kbGood morning everyone! I am from China, a new member here23:50
soundraynewbee: I'm not on MSN. Let's see now if I have really helped you :)23:51
newbeesoundray: ok. but before i go i want to ask u something23:51
soundrayYes?23:52
newbeesoundray: u know all the codes? or u looking from anywhere?23:52
soundrayMost 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
soundrayI've installed Ubuntu about 30 times on very different systems23:54
newbeesoundray: 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
soundrayAnd I started using grub when it was not released yet23:55
soundrayI'm a brain scientist by day :)23:55
newbeewhatever i keep u busy so long. thanks alot for the help now im going to boot my pc23:56
soundrayGood luck!23:56
newbeei hope it will work23:56
newbeethanks alot again and again23:56
newbeetake care23:56
soundrayMe too23:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!