Installing grub for a different computer
Colin Paul Adams
colin at colina.demon.co.uk
Wed Nov 17 21:36:09 UTC 2004
>>>>> "Kevin" == Kevin Freeman <kfreem02 at comcast.net> writes:
Kevin> On Wed, 2004-11-17 at 07:15 +0000, Colin Paul Adams wrote:
>> assumptions, assumptions.... NOW Murphy is kicking good and
>> proper. Here are the last few messages from the console:
>>
>> Mounting root filesystem. EXT3-fs: unable to read superblock
>> mount: error 22 mounting ext3 pivotroot:
>> pivot_root(/sysroot,/sysroot/initrd) failed: 2 umount
>> /initrd/proc failed: 2 Freeing unused kernel memory: 168k freed
>> Kernel panic: No init found. Try passing init= option to
>> kernel.
>>
Kevin> Looking at the bright side, at least the kernel was loaded
Kevin> from the /boot partition. ;)
:-)
Kevin> I can think of 3 likely causes:
Kevin> 1) root parameter on kernel line is pointing to the wrong partition.
No.
Kevin> 2) initrd points to a different version than the kernel
Kevin> version
Kevin> 3) your / partition is at least partially
Kevin> corrupt
Well, that seems likely.
Kevin> Try modifying the root= parameter of grub's kernel config.
Kevin> If you did a stock FC1 install, try root=LABEL=/.
Kevin> Otherwise, just try root=/dev/hda1 through root=/dev/hda5.
Kevin> One of them has to work!
Why? If the / partition is partly corrupted, why should it work at
all?
Kevin> If this still does not work, you might try Toms root/boot:
Kevin> http://www.toms.net/rb/
Kevin> This floppy contains fdisk, vi, etc. and will allow you to
Kevin> explore the drive to locate the / partition and edit
Kevin> /boot/grub/grub.conf. While there, also verify that
Kevin> /boot/grub/menu.lst links to /boot/grub/grub.conf.
I think I#ll try that then. Thanks.
--
Colin Paul Adams
Preston Lancashire
More information about the fedora-list
mailing list