@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22



Comments:

<0> now where would I find grub.conf
<0> in /mnt/gentoo?
<1> well since /boot is currently at /mnt/gentoo, it should be /mnt/gentoo/grub/grub.conf
<0> */mnt/gentoo/grub
<0> its not there
<1> is there anything in grub?
<0> yes a bunch of stuff
<1> but no grub.conf? is there at least menu.lst?
<0> no grub.conf.... but there is menu.lst... but it is "broken"
<0> maybe I should log off and come back as root
<1> well..
<1> menu.lst is supposed to be a link to grub.conf, if grub.conf is missing then it is a broken link
<0> so then how can I make grub.conf?
<0> oh I think I know how
<0> 1 sec
<0> for grub.conf should I hda5 instead of sda5?



<0> (it is a SATA drive)
<2> your fdisk said sda
<2> so no
<2> it should be sda
<0> in grub.conf?
<2> no
<2> well depends
<2> lol
<2> root= on the kernel line can be a /dev/ node
<0> exactly
<2> check device.map in /boot/grub/grub.conf
<2> check device.map in /boot/grub/
<2> sorry
<2> it shows ya the nodes grub uses
<0> devicemap says "(hd0) /dev/sda"
<0> so I would use hd0?
<2> so...
<2> root (hd0,...
<2> whats ya partition for /boot ?
<0> yes I got that
<0> root (hd0,5)
<2> so its the 6th partition ?!?!?
<0> kernel /boot/bzImage root=/dev/hda5
<0> yup
<0> that is the number Gentoo likes to use
<2> remove boot
<2> /kernel.image
<2> also do yu have a seperate boot ?
<0> what do you mean?
<2> /boot can be on another partition to /
<0> no boot is on hda5
<2> and on the kenrel line
<0> root=/dev/hda5
<2> root= should be the device with your root filesystem
<0> with a space of course
<1> wait i thought it was sda?
<2> exactly
<0> iamben.... this is grub
<2> TBird, change it
<1> there is some confusion here
<0> to sda5?
<2> yes
<1> i know it is in grub.conf, but the root= option is *kernel* parameter
<0> I thought grub didnt use sda
<1> so it uses kernel device naming
<0> oh o
<0> *ok
<2> root (hs0,x) != root=/dev/hdx
<1> the root (hdx,y) and setup (hdx,y) stuff is grub devices
<2> exactly
<0> so here is my kernel line: kernel /boot/bzImage root=/dev/sda5
<2> have you got an initrd ?!?!
<2> remove the /boot
<2> /bzimage
<0> so here is my kernel line: kernel /bzImage root=/dev/sda5
<2> actually wait...
<0> ?
<2> you ahve /boot in /
<1> TBird: is your kernel named bzImage?
<1> i thought you said it was kernel-2.6.18-rX
<0> oh... I need to name it the kernel's name



<0> ok
<2> lol
<0> well that is why it didnt boot :P
<2> iamben, i cant recall if one can set a directpath
<1> OmegaEvil: the boot-> . symlink makes it so the /boot/kernel-x.y.z still works
<2> k
<2> thats what i thought
<1> *technically" taht makes it reference /boot/boot/kernel
<2> exactly
<1> but the symlink eliminates those issues
<1> but yeah its technically proper to just use kernel /mykernel if you have a separate /boot part
<0> here is my kernel line now: kernel /boot/kernel-2.6.18-gentoo-r6 root=/dev/sda5
<0> does that sound correct?
<2> do you have a kernel initrd ?
<0> idt so
<2> k
<2> give it a whirl then
<0> ok
<2> you put a title in right ?
<2> default=0
<2> etc.. ?
<0> yes
<2> k
<1> should be good
<1> or at least closer to good than you were before
<0> omfg
<0> Tried to write grub.conf to disk....:Error writing /boot/grub/grub.conf: Read-only file system ]
<2> how did you mount it ?
<2> did you use -o rw ?
<0> no
<2> remount it
<1> you know you must do this as root, right?
<0> yeah sudp
<0> *sudp
<0> **sudo
<0> ok just mounted
<0> now should I be able to save that?
<2> mount /dev/sdx /mnt/gentoo -o rw yes ?
<0> sudo mount -o rw /dev/sda5 /mnt/gentoo
<1> it should have mounted rw by default
<0> does that work?
<2> open grub.conf and dump some **** in then dave
<2> save
<0> same error
<2> if it still doesnt work
<0> oh wait
<0> same thing
<0> go on...
<0> I should probably umount and remount it with the arguments at the end
<1> you are doing "sudo nano /mnt/gentoo/boot/grub.conf" right?
<1> i think it is mounted just fine, you just arent root
<3> heh, i read that as , "i think it's mounted just fine, you're not "
<0> ok it did it
<0> now I can restart and boot from grub then?
<3> hey T
<4> heh hey
<3> did you find a job
<4> not yet
<0> ok now /mnt/gentoo/boot/grub has grub.conf but not menu.lst... do I need to create menu.lst
<3> hopefully soon
<0> ?
<0> oh wait nvm
<0> Ill brb
<1> oh dang theres a new gcc 4.3.0 snapshot ebuild
<1> maybe this one will actually build for me
<5> is there a way to play drm protected files on linux ?
<0> :|
<0> I tried to boot to Gentoo using grub but it is still looking at kernel /boot/bzImage root=/dev/hda5
<0> I have no idea how it is still looking at that
<0> I just mounted my drive and looked at grub.conf and it is correctly set up
<0> can someone help me with it please?
<4> I think thejester just won the "Dumbest question of the Month" award
<1> perhaps you have grub installed elsewhere, like on /


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #gentoo
or
Go to some related logs:

michle savage
#hardware
Stallone still on roids
#computers
#windowsxp
#politics
#freebsd
bookwarez irc moved
STDOUT filehandle perl
qaamo apple



Home  |  disclaimer  |  contact  |  submit quotes