Re: F9 doesn't find swap or /root system on new motherboard



M. Fioretti wrote:
Greetings,

My motherboard, on which I was running F9 x86_64 off one SATA drive, died.
I bought a new motherboard with a new cpu of the same type (AMD) and
connected the hard disk with F9 to it. Now Grub does start with these
options:

kernel/vmlinuz/-2.6.27-etc ro root=/dev/sda3 rhgb mem=2048M enforcing 0

but the process stops at a certain point, saying:

Trying to resume from /dev/sda2
Unable to access resume device (/dev/sda2)
Creating root device
Mounting root filesystem
Mount: error mounting /dev/root on /sysroot as ext3: no such file or
directory


IIRC I had these partitions:

/boot /dev/sda1
swap /dev/sda2
/ /dev/sda3
/home /sda5


So (also from some research I made before posting) this means that on the
new board the kernel cannot find the swap anymore, but why? I mean, if it
boots, as it does, it means that it has found the device corresponding to
the hard drive, isn't it?

Different SATA controller, needing a different driver is my guess.

How do I help grub to find the swap partition on the hd? (I need to go via
grub cause I cannot run a live CD here, there's no CD/DVD reader available
and no possibility to burn a live linux on usb keys :-( )

This is not Grub complaining - the kernel is not finding them.

By the way, the motherboard is an ASUS M3N78-EM with the drive connected
to the SATA1 connector. No other hard or optical drives are present.
Connecting the hd to SATA2 or 3 doesn't change anything, moving on sata5
or 6 doesn't boot at all.

I am not sure how to fix this, unless you can boot from a USB drive.
It looks like the problem is that the new motherboard uses a
different SATA controller. So the driver you need is not in your
initrd. You need to rebuild it. The normal method is to boot from
the install CD/DVD, chroot to where / is mounted, and run mkinitrd.
But in this case, you are going to have to find another way to boot
into the rescue mode.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Relevant Pages

  • Re: XP Pro wont boot, safemode wont help, recovery console doesnt h
    ... Win XP Pro installed on a 300GB SATA drive, ... When trying to boot it gets to the standard Windows logo and after ... new install, which AFAIK would wipe the drive). ... the SATA HDD listed in Device Manager in the "Disk drives" section? ...
    (microsoft.public.windowsxp.general)
  • Re: XP Pro wont boot, safemode wont help, recovery console doesnt h
    ... Win XP Pro installed on a 300GB SATA drive, ... When trying to boot it gets to the standard Windows logo and after ... new install, which AFAIK would wipe the drive). ... drives" section? ...
    (microsoft.public.windowsxp.general)
  • Re: M2N-SLI Deluxe Raid setup questions
    ... If you have a functioning win hd that was previously connected to the sata ... If you cloned an ide boot drive to your sata, you would in any case need to ... Sata controlers are by design hotswapable, but you cannot hot swap / stop ... drives started clicking and then they died. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: New SATA HDD wont show in My Computer
    ... so won't allow any of my other drives to show (Pioneer DVR a106, ... plugged the new HD into the SATA on the Mobo and plugged in the power ... In fact now the PC wouldn't boot. ... only worked once during OS install and now wont show the DVD's) ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: New SATA HDD wont show in My Computer
    ... so won't allow any of my other drives to show (Pioneer DVR a106, ... plugged the new HD into the SATA on the Mobo and plugged in the power ... In fact now the PC wouldn't boot. ... only worked once during OS install and now wont show the DVD's) ...
    (alt.comp.hardware.pc-homebuilt)

Loading