[nSLUG] Booting to new hard rive

D G Teed donald.teed at gmail.com
Sun Jun 29 21:03:25 ADT 2008


On Sun, Jun 29, 2008 at 12:18 PM, Jim Haliburton <jim at on-site.ns.ca> wrote:

> Donald Teed was writing about not being able to boot from his new 320gb
> HD.
>
> It sounds like the drive was not set as the "active" drive in fdisk.  You
> can copy partitions with a variety of tools.  However unless the drive is
> made active as the bootable drive with a tool such as fdisk then it is
> not regarded as bootable by the bios.  I suspect, that the CD he used set
> the drive as active and thus made it seen as bootable by the BIOS.
>
>
Hmmm, that's  a good guess.  But since grub is installed
on the MBR, I would expect any problem related to
the toggle, to at least provoke a complaint or error from grub
after it is loaded.  What I should have done before when it
failing, was to dd if=/dev/hde of=/tmp/ddout  bs=512 count=1
to do a strings on that and see if GRUB appeared.  I suspect
it wasn't being written at all from the Debian installer
used as rescue disk and then chrooting to my system to
run grub.

I've checked both my drives and neither has the bootable
toggle set on partition 1.

Disk /dev/hde: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hde1               1        1095     8795556   fd  Linux raid
autodetect
/dev/hde2            1096        1582     3911827+  82  Linux swap / Solaris
/dev/hde3            1583       38913   299861257+   5  Extended
/dev/hde5            1583        4622    24418768+  fd  Linux raid
autodetect
/dev/hde6            4623        5717     8795556   fd  Linux raid
autodetect
/dev/hde7            5718       11797    48837568+  fd  Linux raid
autodetect
/dev/hde8           11798       38913   217809238+  fd  Linux raid
autodetect

Somehow it was able to boot from disk without boot toggle enabled.
The previous drives on the system are unplugged, so it can't be
getting grub booted that way.

--Donald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nslug.ns.ca/mailman/private/nslug/attachments/20080629/d0ea9d19/attachment-0001.html>


More information about the nSLUG mailing list