Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install issues
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ravelink69
n00b
n00b


Joined: 11 Apr 2012
Posts: 23
Location: Dallas

PostPosted: Wed Apr 11, 2012 4:26 am    Post subject: Reply with 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?
Back to top
View user's profile Send private message
The Doctor
l33t
l33t


Joined: 27 Jul 2010
Posts: 972

PostPosted: Wed Apr 11, 2012 4:32 am    Post subject: Reply with quote

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
View user's profile Send private message
ravelink69
n00b
n00b


Joined: 11 Apr 2012
Posts: 23
Location: Dallas

PostPosted: Wed Apr 11, 2012 4:34 am    Post subject: Reply with quote

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
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1587
Location: US

PostPosted: Wed Apr 11, 2012 4:36 am    Post subject: Reply with quote

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 :wink:


Last edited by BillWho on Wed Apr 11, 2012 4:40 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
l33t
l33t


Joined: 27 Jul 2010
Posts: 972

PostPosted: Wed Apr 11, 2012 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message
ravelink69
n00b
n00b


Joined: 11 Apr 2012
Posts: 23
Location: Dallas

PostPosted: Wed Apr 11, 2012 4:41 am    Post subject: Reply with quote

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
View user's profile Send private message
The Doctor
l33t
l33t


Joined: 27 Jul 2010
Posts: 972

PostPosted: Wed Apr 11, 2012 4:48 am    Post subject: Reply with quote

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
View user's profile Send private message
ravelink69
n00b
n00b


Joined: 11 Apr 2012
Posts: 23
Location: Dallas

PostPosted: Wed Apr 11, 2012 4:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum