Results 11 to 14 of 14
Thread: trouble with grub
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
01-24-2004 #11
- Join Date
- Jan 2004
- Location
- UK
- Posts
- 8
First
ls -la /lib/modules/2.4.22-1.2115.nptl
total 3196
drwxr-xr-x 4 root root 4096 Jan 22 22:12 .
drwxr-xr-x 3 root root 4096 Jan 22 22:12 ..
lrwxrwxrwx 1 root root 41 Jan 22 22:12 build ->
../../../usr/src/linux-2.4.22-1.2115.nptl
drwxr-xr-x 8 root root 4096 Jan 22 22:12 kernel
-rw-r--r-- 1 root root 129404 Jan 22 22:12 modules.dep
-rw-r--r-- 1 root root 31 Jan 22 22:12 modules.generic_string
-rw-r--r-- 1 root root 443 Jan 22 22:12 modules.ieee1394map
-rw-r--r-- 1 root root 8330 Jan 22 22:12 modules.isapnpmap
-rw-r--r-- 1 root root 29 Jan 22 22:12 modules.parportmap
-rw-r--r-- 1 root root 70953 Jan 22 22:12 modules.pcimap
-rw-r--r-- 1 root root 24 Jan 22 22:12 modules.pnpbiosmap
-rw-r--r-- 1 root root 158673 Jan 22 22:12 modules.usbmap
drwxr-xr-x 5 root root 4096 Jan 22 22:12 unsupported
-rwxr-xr-x 1 root root 2843240 Oct 29 20:39 vmlinux
uname -a
Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21 EST 2003 i686 athlon i386 GNU/Linux
id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(di sk),10(wheel)
ls -l /sbin/depmod
-rwxr-xr-x 1 root root 122176 Oct 7 20:43 /mnt/hd2/sbin/depmod
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/proc /proc proc rw 0 0
/dev/hde7 /boot ext3 rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hdg3 /mnt/hd2 ext3 rw 0 0
Note all of these commands where ran against /mnt/hd2/....... since it boots into RH8 and not fedora. I have mounted the partition for fedora as /mnt/hd2. All commands where ran as root with the 2.4.22-1.2115.nptl kernel loaded, but in RH8 at runlevel 3. The exception was the cat command which had no effect for cat /mnt/hd2/proc/mounts, so it was ran against the RH8 with the fedora kernel loaded.
-
01-25-2004 #12
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I thought I was going nuts, but then I finally saw what was wrong. Phew... none of this made sense at all - it was just completely incoherent. Then I saw your GRUB config (it turned out to be a GRUB problem after all... =) ).
The problem is that you're using disk labels to identify the root filesystem. Those disklabels always mess stuff up. Try this "kernel" command for the fedora config instead of the current one:
Code:kernel /vmlinuz-2.4.22-1.2115.nptl ro root=hdg3 hdb=ide-scsi
-
01-25-2004 #13
- Join Date
- Jan 2004
- Location
- UK
- Posts
- 8
Tried that, didn't work. Exact same thing as before. I am also starting to suspect what is provided as the root!
-
01-25-2004 #14
- Join Date
- Jan 2004
- Location
- UK
- Posts
- 8
OK, so I tried that and as my previous post says - it failed to work.
Good news the following has worked
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=/dev/hdg3 hdb=ide-scsi
The /dev/ seems to have sorted out the suggestion you made. I must say, I thought I had tried every possiible combo today of /dev/.
Thanks for the help Dolda2000!!!!!!!!!!!