Problems booting RedHat 9.0
Hi,
I had a fully working dual booting WinXP / RedHat 9.0 installation on my laptop till yesterday. I decided to reinstall WinXP and now my RedHat doesn't boot My Config: 1 single HDD partitioned as follows: 1 NTFS partition for the Win XP system 1 NTFS partition for data 1 ext3 partition for swap 1 ext3 partition for the RH system LILO installed on a floppy. I only formated the WinXP system partition, leaving intact the others Booting process begins as usual, but it stops and my laptop freezes :scratch: These are the last lines of the booting process: Loading ext3.0 Module Mounting /proc file system Creating block devices Creating root devices Mounting root filesystem VFS: Can't find ext3 filesystem on dev ide 0(3,3) Mount: Error 22 mounting ext3 Pivotroot: pivot-root (/sysroot, /sysroot/initrd) failed:2 umount /initrd/proc failed: 2 Freeing unused kernel memory: 132K freed Kernel panic: No init found. Try passing init= option to kernel Thank you |
I am not sure, but would be happy to take a guess. When you reinstalled windows, did you add a partition? It appears that the kernel is looking for your root partition but can't find it.. If you added a partiton that would change the device location of your root partition(redhat).
|
assuming redhat is your 4th partition you can boot your lilo-boot disk with this parameter
root=/dev/hda4 |
Thanx a lot shanenin :)
Booting with the option root=/dev/hda4 worked !!! It is strange because I didn't add any new partitions during WinXP installation... Anyway, in case somebody else would have this same issue, I have changed this parameter in: /mnt/floppy/syslinux.cfg so I don't have to type it each time I boot my RH box. Again, thanx a lot :) :) :) |
Now my swap partition is not detected.
I think what happened was that both partitions got swapped. Now my swap partition is in /dev/hda4 instead of /dev/hda3 How can I change this setting ? Thanx |
you can check the location of all of your partitions with the command as root
Code:
/sbin/fdisk -l /etc/lilo.conf /etc/fstab make sure your swap partition is the same one as listed in your /etc/fstab |
All times are GMT -5. The time now is 02:40 AM. |