1 |
Peter Humphrey wrote: |
2 |
> On Friday 13 April 2012 15:51:07 Dale wrote: |
3 |
> |
4 |
>> Here is grub: |
5 |
>> |
6 |
>> title=Initramfs-new_drive |
7 |
>> root (hd0,0) |
8 |
>> kernel /bzImage-3.3.1-1 root=/dev/sdb2 init=/sbin/init nox |
9 |
>> initrd /initramfs-3.3.1-1-tmp.img |
10 |
> |
11 |
> Your "init=" parameter points to (hd0,0)/sbin/init because of your "root |
12 |
> (hd0,0)" line. I think that's what you need to fix. It should say |
13 |
> "init=(hd1,0)/sbin/init" if I've read this thread aright. |
14 |
> |
15 |
|
16 |
I have changed the root line to hd1,0 and it still boots sda. Other |
17 |
settings result in a failure. It doesn't even try to boot. |
18 |
|
19 |
>> Is this the init thingy mounting sda stuff and then Gentoo carries on |
20 |
>> from there? If so, how do I tell the init thingy to point to sdb stuff? |
21 |
> |
22 |
> By specifying "initrd (hd1,0)/initramfs-3.3.1-1-tmp.img" |
23 |
> |
24 |
> I hope I've got this right - it's late at night here. |
25 |
> |
26 |
|
27 |
|
28 |
But the kernel I want to use is on sda1. The OS is on sdb tho. |
29 |
|
30 |
I'm going to do this another way. I'm going to boot a stick thingy and |
31 |
just copy it that way. It takes longer but at least it works. Someone |
32 |
has borked grub tho. This worked just a few years ago. All I changed |
33 |
back then was the root=/dev/sd** to whatever you want to boot. Now it |
34 |
acts like it is hard coded to never change once booted. I just hope the |
35 |
thing boots after I change things around. |
36 |
|
37 |
May backup my packages first. ;-) |
38 |
|
39 |
Dale |
40 |
|
41 |
:-) :-) |
42 |
|
43 |
-- |
44 |
I am only responsible for what I said ... Not for what you understood or |
45 |
how you interpreted my words! |
46 |
|
47 |
Miss the compile output? Hint: |
48 |
EMERGE_DEFAULT_OPTS="--quiet-build=n" |