1 |
Hi list, |
2 |
|
3 |
I'm tired with my problem and I hope someone can help... the problem is: |
4 |
|
5 |
I have my / partition on /dev/sda1, including /boot. But 2 days ago |
6 |
when I did the gentoo instalation I put it on a wrong disk. / |
7 |
partition must be /dev/sdb2, that is connected to a SCSI controler |
8 |
different than /dev/sda, that is connected in another one. Well, when |
9 |
I had / on /dev/sda1 I setup lilo.conf and everything works fine: |
10 |
|
11 |
image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 |
12 |
label = Gentoo |
13 |
read-only # read-only for checking |
14 |
root=/dev/ram0 |
15 |
append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev" |
16 |
initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 |
17 |
|
18 |
But as I said (due to my company rules) I have to put / partition on |
19 |
/dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1 |
20 |
data to /dev/sdb2. After this I change the lilo.conf as follows: |
21 |
|
22 |
image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 |
23 |
label = Gentoo |
24 |
read-only # read-only for checking |
25 |
root=/dev/ram0 |
26 |
append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev" |
27 |
initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 |
28 |
|
29 |
But, when I boot the computer I got the following message: |
30 |
|
31 |
>>Mounting root... |
32 |
mkdir: Cannot create directory '/newroot/tmp':Read-only file system |
33 |
mkdir: //newroot/dev/console: No such file or directory |
34 |
mknod: //newroot/dev/tty1: No such file or directory |
35 |
Booting (initramfs)...... |
36 |
chroot: cannot execute /bin/sh: No such file or directory |
37 |
Kernel panic - not syncing: Attempted to kill init! |
38 |
|
39 |
I put Adaptec AARAID module *build in* in the kernel, without it the |
40 |
/dev/sdb2 is not recognized. I generated the kernel using genkernel |
41 |
--menuconfig all. |
42 |
|
43 |
Any clue? |
44 |
|
45 |
Thank you very much. |
46 |
|
47 |
Leandro. |
48 |
|
49 |
-- |
50 |
gentoo-user@g.o mailing list |