| View previous topic :: View next topic |
| Author |
Message |
ravelink69 n00b

Joined: 11 Apr 2012 Posts: 23 Location: Dallas
|
Posted: Wed Apr 11, 2012 4:26 am Post subject: |
|
|
| So i go to edit grub.conf, should i put root (hd0,0) like it has defaulted to or change it to root (hd0,2) since its on sda3? |
|
| Back to top |
|
 |
The Doctor l33t


Joined: 27 Jul 2010 Posts: 972
|
Posted: Wed Apr 11, 2012 4:32 am Post subject: |
|
|
I have grub legacy, (not 2 so unless you unmasked it you should have a simulare setup) Basically yes, root(hd0,0) should be correct.
here is what grub.conf looks like: (note that I do not have a initrd as /usr is not separate)
| Code: | default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Hardened Gentoo 3.3.1-r1
root(hd0,0)
kernel /boot/hardened-3.3.1-r1 root=/dev/sda3 |
and here are my partitions from fstab: | Code: | /dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda3 / ext4 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda4 /home ext4 noatime 0 0 |
_________________ First things first, but not necessarily in that order. |
|
| Back to top |
|
 |
ravelink69 n00b

Joined: 11 Apr 2012 Posts: 23 Location: Dallas
|
Posted: Wed Apr 11, 2012 4:34 am Post subject: |
|
|
thank you. One thing i noticed that is different on mine is right after your kernel information it says root=/dev/sda3 where mine says the following:
root=/dev/ram0 real_root=/dev$t=/dev/sda3
Should i change it to look like yours? |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1587 Location: US
|
Posted: Wed Apr 11, 2012 4:36 am Post subject: |
|
|
ravelink69,
Yes, it will look something like:
| Code: | root@gentoo-gateway ati-drivers-12.3 # mount|column -t
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=465050,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
/dev/sdb14 on / type ext3 (rw,noatime,errors=continue,barrier=1,data=writeback) |
You're in your gentoo installation. It would be easier if you continued with the installation chrooted from the cd.
| Quote: | | So i go to edit grub.conf, should i put root (hd0,0) like it has defaulted to or change it to root (hd0,2) since its on sda3? |
(hd0,2) would be where your / filesystem resides.
Since you have a separate boot partition don't use /boot/kernel just use /kernel
You might need to add root=/dev/sda3 rootfstype=ext3 to your kernel line
Good luck 
Last edited by BillWho on Wed Apr 11, 2012 4:40 am; edited 1 time in total |
|
| Back to top |
|
 |
The Doctor l33t


Joined: 27 Jul 2010 Posts: 972
|
Posted: Wed Apr 11, 2012 4:39 am Post subject: |
|
|
Since you have using an initrd (I assume since you posted a grub.conf with one earlier), you should have root=/dev/ram0 real_root=/dev/sda3 What you posted has some extra garbage in it here: real_root=/dev$t=/dev/sda3 that might be the problem. _________________ First things first, but not necessarily in that order. |
|
| Back to top |
|
 |
ravelink69 n00b

Joined: 11 Apr 2012 Posts: 23 Location: Dallas
|
Posted: Wed Apr 11, 2012 4:41 am Post subject: |
|
|
| i dont even know if i need the initrd. I just saw it in the install document and just did what it said. I can remove that and make it like yours because i dont have a seperate /usr directory either. |
|
| Back to top |
|
 |
The Doctor l33t


Joined: 27 Jul 2010 Posts: 972
|
Posted: Wed Apr 11, 2012 4:48 am Post subject: |
|
|
Well, what you can do is add one grub entry like mine without the initrd and another with. That way at least one should work. The biggest thing is that you may run into problems if you have required drivers as modules. If you used genkernel then you definitively need it. _________________ First things first, but not necessarily in that order. |
|
| Back to top |
|
 |
ravelink69 n00b

Joined: 11 Apr 2012 Posts: 23 Location: Dallas
|
Posted: Wed Apr 11, 2012 4:50 am Post subject: |
|
|
Alright. I appreciate both of your help with this issue. It is getting late here and I have work in the morning. I will attempt this again tomorrow and update this thread if there are any continued issues.
Again, thank you a lot!!! |
|
| Back to top |
|
 |
|