Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#219538 - 24/06/2004 15:39 Linux assistance required
talmou
new poster

Registered: 22/05/2002
Posts: 20
Loc: London
I am trying to replace the motherboard in my home pc, and I'm running into some booting issues. Probably due to being fairly new to linux.

On the origional board it was :
First drive primary channel, fat32 with fedora mbr
secondary channel, 2 dvd drives
first sata, data drive ext3
second sata, (hdg) fedora install
hdg1 /boot
hdg2 /
hdg3 SWAP
This worked without problems.

On the new motherboard :
First drive primary channel, fat32 with fedora mbr
secondary channel, 2 dvd drives
first sata, (sda) fedora install
sda1 /boot
sda2 /
sda3 SWAP
second sata, data drive.

Drives were just unplugged from one board and plugged into the new one.

On first boot I got
GRUB
I played with grub and now it loads the previous grub.conf, and I changed fstab to reflect the new drive location (I think).

However when I boot now I get
Booting 'Fedora Core (2.6.6-1.427smp)
root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.6-1.427smp ro root/dev/sda2 rhgb quiet
[Linux-bzimage, setup=0x1400, size=0x13baa6]
initrd /initrd-2.6.6-1.427smp.img
[Linux-initrd @ 0x37fad000, 0x4259f bytes]

Uncompressing Linux... Ok, booting the kernel.
ACPI S3 and PAE do not like each other for now, S3 disabled.
audit(1088139669.794:0) initialized
Red Hat nash version 3.5.22 starting
mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed 2
umount /initrd/proc failed: 2
Kernel panic: No init found. Try passsing init= option to kernel.




My fstab is

LABEL=/dev/sda2 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
. . .
/dev/hda1 /mnt/c auto defaults 0 0
/dev/sda3 swap swap defaults 0 0
. . .


my grub.conf

boot=/dev/sda1
defaults=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.427smp)
root (hd1,0)
kernel /vmlinuz-2.6.6-1.427smp ro root=/dev/sda2 rhgb quiet
initrd /initrd-2.6.6-1.427smp.img

I'd rather not reinstall if I can avoid it, but at the moment I'm stuck. So I thought I'd ask the best resource of linux people I know of.

/me falls to the floor groveling

Thanks

Jim



_________________________
Jim MK2#090000841 MK2a#120001050

Top
#219539 - 24/06/2004 17:59 Re: Linux assistance required [Re: talmou]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Well, it's not the fstab that's youre problem. It's the initrd image that's failing. Of course, I don't know for what asinine reason RedHat/Fedora is using initrd, so I've got no way to help.

Some things online point to it not being able to load /boot (which is what the failed to mount ext3 thing is about). Did you compile or otherwise install a new kernel? If so, did it include ext3 support built-in (that is, not as a module)?
_________________________
Bitt Faulk

Top
#219540 - 24/06/2004 18:42 Re: Linux assistance required [Re: talmou]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14479
Loc: Canada
This line:
kernel /vmlinuz-2.6.6-1.427smp ro root/dev/sda2 rhgb quiet
should have this: root=/dev/sda2rather than root/dev/sda2.

If it's just a typo on your part, then try adding noacpi to the kernel command line from grub.

Cheers

Top
#219541 - 25/06/2004 01:33 Re: Linux assistance required [Re: mlord]
talmou
new poster

Registered: 22/05/2002
Posts: 20
Loc: London
Did you compile or otherwise install a new kernel? If so, did it include ext3 support built-in (that is, not as a module)?


It was the same kernel that had been working the previous day.

If it's just a typo on your part, then try adding noacpi to the kernel command line from grub.


Yea, that was just a typo, but I will try the noacpi command when I get home tonight.

In any case the install is only 3 weeks old and I've tar'd up everything important, so a reinstall isn't going to be too bad.

Thanks


Jim
_________________________
Jim MK2#090000841 MK2a#120001050

Top