Re: Will not boot after Disk upgrade from hda to sda

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 01 January 2008, Paul Ward wrote:
>Hi All,
>
>I am normally quite good with grub but currently I am struggling with
>a disk upgrade on my brothers PC.
>
>He has purchased a pci sata card, and added a new 1TB drive.
>
>I have used dd to copy the boot sector to the new drive, then used
>clonezilla and copied hda1 (/boot) to sda1, and copied hda3 (/) to
>sda3. hda2 is swap and has been recreate as sda2.
>
>I edited the /boot/grub/menu.lst from
>
>title Fedora (2.6.23.1-42.fc8)
>        root (hd0,0)
>        kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
>        initrd /boot/initrd-2.6.23.1-42.fc8.img
>to
>title Fedora (2.6.23.1-42.fc8)
>        root (hd0,0)
>        kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=/dev/sda3 rhgb quiet
>        initrd /boot/initrd-2.6.23.1-42.fc8.img
>
>I change the device.map from
>
>(hd0)     /dev/hda
>to
>(hd0)     /dev/sda
>
>and edited fstab from
>
>LABEL=/                 /                       ext3    defaults        1 1
>to
>/dev/sda3                /                       ext3    defaults        1 1
>
>I have checked with e2label that all partitions are correctly named as well.
>
>Is there something else I have missed?

I'm going through the same nightmare here.  It boils down to the card, it MUST 
HAVE bios extensions that enable the bios to see this new drive.  The first 
card I bought works great once the kernel that knows about it is loaded, but 
reports they are disabled in the lspci output once linux is booted from a 
pata drive.  I've ordered another new card which I have been promised does 
have the bios extensions enabled and will be able to boot from it.

Said another way, if the mobo's bios can't see this new drive, then it 
obviously cannot boot from it.  This is not a linux problem, but a bios 
problem.

My current workaround was to move all the stuff from /boot1, the first 
partition on this sata drive that the F8 install to this drive made, 
to /boot, the first partition on ide0,0 drive, at which point F8 will boot, 
using the /VolGroup01 etc on the sata drive as its / drive, and with /boot1 
as its /boot once its booted.  Weird, as it disconnects the /boot it booted 
from, but it works.

So I've not tried any F8 stuff to speak of until the new card gets here.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
When confronted by a difficult problem, you can solve it more easily by
reducing it to the question, "How would the Lone Ranger handle this?"


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux