LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-09-2002, 12:07 AM   #1
George_Hong
LQ Newbie
 
Registered: Dec 2002
Posts: 2

Rep: Reputation: 0
xp pro and rh7.3 dual boot (grub and partition magic)


Hi there,
I just installed RH7.3 and win XP pro on the laptop and was able to dual boot using Grub.
But when I tried to recycled a fat32 partition using partition magic, the grub is broken.
Here is the details:

1. format fat32 to NTFS so that it could merge with another NTFS partition, when it's done, the grub simply quit. It gives me command line interface (no pretty graphics). I can manually type the command in grub to boot into windows. But I can't boot to linux. When I try "cat (hd0,5)/boot/grub/grub.conf" it says" files not found". Other partitions gave me similar result.

2. boot from the emergency disk and it complains can't find the image file.

3. Go back to windows and recreate the fat32 partition. Now the graphics interface in grub show up, but I still can't boot into Linux. It complains the files (the kernel) not found.

4. boot from the emergency disk and now I can boot into Linux.

It looks like the disk information has been changed and Grub is not able to catch the update. How do I fix the problem? I really like to merge the two partition into one because the fat32 was used to store the images to install Linux.

Thanks a bunch in advanced.
George Hong
 
Old 12-09-2002, 07:21 AM   #2
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
You are right in that PM modified the partition table on your hard drive thus causing Grub to not work. Partition Magic will not update Grub's configuration file, you will have to do that manually.

A manual update will require knowing the current partitioning set up on the drive and a Linux boot disk to access your Linux space. You will need to boot Linux using the boot disk, mount the Linux partition(s) that have your /boot/grub/menu.lst and /etc/fstab files. Then modify these with the new partition info.
 
Old 12-09-2002, 06:34 PM   #3
George_Hong
LQ Newbie
 
Registered: Dec 2002
Posts: 2

Original Poster
Rep: Reputation: 0
kernel panic: no init found, RH7.3

Thanks, Glen.
After playing with Grub for a while, I encountered a kernel panic problem. When I try to boot from the Grub in HD, it gives me the message:


pivotroot: pivot_root (/sysroot,/sysroot/initrd) failed 2
<frees 236K of memory>
kernel panic: no init found. try passing init= option to kernel

I did some research and found out the reason is that the system can't mount the / partition so that it can't find init stuff. But the solution they suggested did not work.
"/initrd" directory is there. And I did try to modify the entry in /etc/fstab from "Labels=/" to the physical device /dev/hda7.

So right now I can only boot into Linux using the boot disk I made during the installation.

Any suggestion?
Thx.
George
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dual boot w/ partition magic Scarecrow Man Linux - Newbie 11 06-14-2004 02:35 PM
RH7.2 and Partition Magic 8 problem?? Or stupidity redhattigger Linux - Newbie 3 03-02-2004 10:53 AM
Dual boot setup attempt thwarted by Partition Magic(?) astrostuart Linux - Hardware 8 07-28-2003 12:13 PM
RH7.2 and Partition Magic Difficulty redhattigger Linux - Software 13 09-19-2002 12:27 AM
XP/RH7.3 dual boot to grub> awdoyle Linux - Software 8 09-11-2002 05:04 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration