ive setup my partitions like this
sda2 = /boot
sda5 = swap
sda6 = /root
sda7 = /home
im trying to install grub, its presenting this config file
root (hd0, 1)
kernel /vmlinuz26 root=/dev/sda6 r0
i tried changing hd0 to sd0 and sd5, both without success. Im saying no at the raid question (which might be the problem; is sata raid?), and both /dev/sda and dev/sda2 as the MBR. what should i do?
edit -- its compaining "Cannot mount selected partition" I notice in the grub output its setting root to (hd0, 1), which is not what I specified in the file....
Last edited by hvgotcodes (2007-07-22 22:59:24)
SATA is not raid.
Does it really say "r0" instead of "ro" or is that a typo in your post?
Where's the rest of the "initrd" line?
kernel /vmlinuz26 root=/dev/sda6 ro
I didnt include the lines I felt were not relevant; I shouldn't have made any assumptions...
root (hd0, 1)
I notice in the grub output its setting root to (hd0, 1), which is not what I specified in the file....
Whaaa? Also, grub has a different system than the rest of the world for (hdx,y) x is the drive number (IDE, SATA, doesn't matter), and y is the partition number. (they both start from 0)
I solved this problem with the help of IRC. Basically, in the fdisk step, I had set the partition type for one of the partitions I created, and grub could not install. When I went thru the entire process again (without specifying partition type with cfdisk) it worked without issue.
Only takes 20 minute or so to do an ftp install.