LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2004, 11:24 AM   #1
ericthyred
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian
Posts: 22

Rep: Reputation: 15
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

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

Last edited by ericthyred; 04-02-2004 at 11:30 AM.
 
Old 04-02-2004, 12:01 PM   #2
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
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).
 
Old 04-02-2004, 12:05 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
assuming redhat is your 4th partition you can boot your lilo-boot disk with this parameter
root=/dev/hda4
 
Old 04-04-2004, 10:41 AM   #4
ericthyred
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 04-04-2004, 11:17 AM   #5
ericthyred
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian
Posts: 22

Original Poster
Rep: Reputation: 15
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
 
Old 04-04-2004, 11:24 AM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems booting redhat 7.0 paul62 Red Hat 1 04-17-2004 11:55 PM
Redhat booting problems debchatterjee Linux - Software 3 03-05-2004 06:46 AM
Booting redhat 9.0 problems enra960 Linux - Software 4 09-25-2003 02:54 PM
Booting Problems in redhat and mandrake balanagireddy Linux - General 1 09-05-2003 10:50 AM
problems booting Redhat 9 WiccanJester Linux - Newbie 2 08-18-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration