View previous topic :: View next topic |
Author |
Message |
jasper_ferrer n00b
Joined: 24 Nov 2003 Posts: 15
|
Posted: Tue May 11, 2004 10:09 am Post subject: grub problems on diff. partitioning scheme |
|
|
hi, i have always deviated from the installation handbook and partitioned my hard disk with my own partitioning scheme. with lilo this works just fine, however this time i decided that i would try out grub and ran into problems.
grub gets installed in the mbr and the boot menu shows up, but fails when i try to boot gentoo. i have forgotten the error messages and i am starting from scratch again (stage 1) i'll write down the errors this time (if it ever comes up again) and post it here later.
in the meantime here is my partitionning schem:
hda1 swap
hda2 ext3 (linux)
hda3 fat32 (windows)
hda4 extended
...
i also use genkernel and i see a warning regarding the boot partition.
i would like to know how i should configure grub to match my partitioning scheme.
please help, thank you. _________________ /*!
* Fate, it seems, is not without a sense of irony.
*
* - Morpheus
*/ |
|
Back to top |
|
|
jwj Apprentice
Joined: 07 May 2004 Posts: 240
|
Posted: Tue May 11, 2004 10:25 am Post subject: |
|
|
On what partition are / and /boot? |
|
Back to top |
|
|
jasper_ferrer n00b
Joined: 24 Nov 2003 Posts: 15
|
Posted: Tue May 11, 2004 10:50 am Post subject: |
|
|
/ and /boot are on hda2 _________________ /*!
* Fate, it seems, is not without a sense of irony.
*
* - Morpheus
*/ |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Tue May 11, 2004 12:45 pm Post subject: |
|
|
So you do not have a seperate boot partition? (As recommended in the handbook)
In that case you need something like:
Code: | default 0
timeout 20
splashimage=(hd0,1)/grub/default.xpm.gz
title=Gentoo Linux
root (hd0,1)
kernel /linux-2.4.25 root=/dev/hda2 |
Change the linux- into whatever your kernel is and add any options you need/use... _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
jasper_ferrer n00b
Joined: 24 Nov 2003 Posts: 15
|
Posted: Wed May 12, 2004 11:00 pm Post subject: |
|
|
yes i don't. its not that i don't like the default gentoo partitioning scheme, its just that when i started with gentoo my hard drive was already parititioned and i dont have another hard drive to move my files to.
anyway, since this is a new computer i decided to stick with the gentoo handbook so now i have a separate boot parition. installation went fine, but again when i tried booting the system i still get the same error:
Code: |
Determining root device...
Block device /dev/hda3 is not a valid roto device...
The root block device is unspecified or not detected.
|
also further up i noticed this:
Code: |
/dev/ide/host0/bus0/target0/lun0: unknown partition table
|
so i guess this has nothing to do with grub.
im no expert but i have successfully installed gentoo before on 3 computers we have here at home. _________________ /*!
* Fate, it seems, is not without a sense of irony.
*
* - Morpheus
*/ |
|
Back to top |
|
|
|