Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] About ready to move /usr, /var and /home to LVM.
Date: Sat, 14 Apr 2012 10:40:45
Message-Id: 4F89538E.3070405@gmail.com
In Reply to: Re[2]: [gentoo-user] About ready to move /usr, /var and /home to LVM. by Stefan Schmiedl
1 Stefan Schmiedl wrote:
2 > Dale,
3 >
4 > Saturday, April 14, 2012, 5:46:44 AM, you wrote:
5 >
6 > D> Stefan Schmiedl wrote:
7 >>> I'd expect to see root (hd1,0) in there somewhere.
8 >
9 > D> I tried changing the root line and it still booted sda. Also, note that
10 > D> I also tried a grub entry that doesn't even have a root line. It just
11 > D> points directly to sdb.
12 >
13 > D>From what I have always been told, the root line points to grub not the
14 > D> root partition of the OS. Those are two different things. Correct me
15 > D> if I am wrong here. That's the way I have always been told.
16 >
17 > That is correct, "root (hdx,y)" points to partition y on drive x, where
18 > the kernel is to be found, i.e. the root path for the "kernel" line.
19 > The kernel uses its root=/dev/whatever to set up the root for the linux
20 > environment.
21 >
22 > D> I'm using grub legacy here.
23 >
24 > me too. And the last time I tried, changing the root line made grub boot
25 > from the other disk. Have you tried editing this line in grub's editor
26 > during boot?
27 >
28 > s.
29 >
30 >
31 >
32
33
34 Yep, it failed many times with a file not found error. I have a copy of
35 /boot there but it is just a copy of sda. In the past, I have had one
36 /boot and booted two different Gentoo OSs with no problem.
37
38 This is what I don't get, when I point the root=/dev/sda2, it should
39 point to that and load the fstab file there to mount the rest. For some
40 reason, it goes back to sda even when told not to.
41
42 This is confusing me. When grub is pointed to something, it should go
43 there and error out if it is not the correct one such as pointing to the
44 wrong partition.
45
46 This is weird.
47
48 Dale
49
50 :-) :-)
51
52 --
53 I am only responsible for what I said ... Not for what you understood or
54 how you interpreted my words!
55
56 Miss the compile output? Hint:
57 EMERGE_DEFAULT_OPTS="--quiet-build=n"