LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems booting RedHat 9.0 (https://www.linuxquestions.org/questions/linux-software-2/problems-booting-redhat-9-0-a-165398/)

ericthyred 04-02-2004 11:24 AM

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

shanenin 04-02-2004 12:01 PM

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).

shanenin 04-02-2004 12:05 PM

assuming redhat is your 4th partition you can boot your lilo-boot disk with this parameter
root=/dev/hda4

ericthyred 04-04-2004 10:41 AM

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 :) :) :)

ericthyred 04-04-2004 11:17 AM

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

shanenin 04-04-2004 11:24 AM

you can check the location of all of your partitions with the command as root
Code:

/sbin/fdisk -l
These two files need to be looked at
/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.