Dale wrote: > I have ran into a issue here. I copied everything over to sdb, my temp > drive. When I try to boot it, it still boots from sda which is the > primary drive. I can not get it to boot from the copy. I did update > the fstab file to point to the new sdb partitions, I use labels for that > and they have different names. I also edited grub and told it root was > sdb2. When I boot, everything mounted is sda. > > I tried chrooting in and building a init thingy, still boots to sdb. > > What gives here? > > Name Flags Part TypeFS Type [Label] Size (MB) > ------------------------------------------------------------------- > sdb1 Primary ext2 [boot-250g] 197.41 > sdb2 Primary ext4 [root-250g] 74998.11 > sdb5 Logical ext4 [home-250g] 50001.48 > > > > LABEL=boot-250g /boot ext2 defaults 1 2 > LABEL=root-250g / ext4 defaults 0 1 > LABEL=home-250g /home ext4 defaults 0 2 > > > Those are from the copy. Here is grub: > > title=Initramfs-new_drive > root (hd0,0) > kernel /bzImage-3.3.1-1 root=/dev/sdb2 init=/sbin/init nox > initrd /initramfs-3.3.1-1-tmp.img > > I have done this in the past and it worked but not now. Is this the > init thingy mounting sda stuff and then Gentoo carries on from there? > If so, how do I tell the init thingy to point to sdb stuff? > > Thoughts? > > Dale > > :-) :-) >
OK. I thought of something else to try. I created a new grub entry. This is a plain entry with no init thingy at all. It looks like this: title Gentoo no init tmp drive kernel (hd0,0)/bzImage-3.3.1-1 root=/dev/sdb2 nox Simple but it still boots the sda drive instead of the sdb drive. What am I missing here? I looked in dmesg, the root=/dev/sdb2 line is in there so grub passes it on. This is weird. I need ideas folks. I'm running out of things to try. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS="--quiet-build=n"