Grub can't boot hda1 (vfat/diagnostics), need to do something from DOS?
Hello, and happy new year to all,
On a brand new HD, I made a small partition (32M) exactly like the one
on the old disk. Copied (with tar) the contents as the drive was
mounted from a usb carrier. Then I moved it to the main drive caddy
and installed Lenny in the rest of the drive. Grub recognized the
vfat partition (the bootable flag is set) and created the necessary
entry in the boot menu, but when selected at boot time I get this:
Booting Dell Diagnostics
root(hd0,0)
Filesystem type is fat, partition type 0x6
savedefault
makeactive
chainloader + 1
This is not a bootable disk, Please mount a bootable floppy and
press any key to try again...
Do I need to run something from DOS? What am I missing?
Thanks
A.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-01-2009, 04:47 AM
"Boyd Stephen Smith Jr."
Grub can't boot hda1 (vfat/diagnostics), need to do something from DOS?
On Wednesday 2008 December 31 22:51:12 A. F. Cano wrote:
> This is not a bootable disk, Please mount a bootable floppy and
> press any key to try again...
>
> Do I need to run something from DOS? What am I missing?
Probably just need to toggle the bootable flag on the partition.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
01-01-2009, 07:25 AM
Sven Joachim
Grub can't boot hda1 (vfat/diagnostics), need to do something from DOS?
On 2009-01-01 05:51 +0100, A. F. Cano wrote:
> On a brand new HD, I made a small partition (32M) exactly like the one
> on the old disk. Copied (with tar) the contents as the drive was
> mounted from a usb carrier. Then I moved it to the main drive caddy
> and installed Lenny in the rest of the drive. Grub recognized the
> vfat partition (the bootable flag is set) and created the necessary
> entry in the boot menu, but when selected at boot time I get this:
>
> Booting Dell Diagnostics
> root(hd0,0)
> Filesystem type is fat, partition type 0x6
> savedefault
> makeactive
> chainloader + 1
> This is not a bootable disk, Please mount a bootable floppy and
> press any key to try again...
>
> Do I need to run something from DOS? What am I missing?
You must install the DOS bootloader with the "sys" command.
Sven
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-01-2009, 07:46 AM
Joel Roth
Grub can't boot hda1 (vfat/diagnostics), need to do something from DOS?
On Thu, Jan 01, 2009 at 09:25:55AM +0100, Sven Joachim wrote:
> On 2009-01-01 05:51 +0100, A. F. Cano wrote:
>
> > On a brand new HD, I made a small partition (32M) exactly like the one
> > on the old disk. Copied (with tar) the contents as the drive was
> > mounted from a usb carrier. Then I moved it to the main drive caddy
> > and installed Lenny in the rest of the drive. Grub recognized the
> > vfat partition (the bootable flag is set) and created the necessary
> > entry in the boot menu, but when selected at boot time I get this:
> >
> > Booting Dell Diagnostics
> > root(hd0,0)
> > Filesystem type is fat, partition type 0x6
> > savedefault
> > makeactive
> > chainloader + 1
> > This is not a bootable disk, Please mount a bootable floppy and
> > press any key to try again...
> >
> > Do I need to run something from DOS? What am I missing?
>
> You must install the DOS bootloader with the "sys" command.
>
> Sven
I believe the DOS bootloader will simply overwrite GRUB,
which resides in the boot sector of the disk, having
no effect on the properties of the first partition.
What I would suggest is that you recopy the original
partition byte-for-byte using dd. For example, if
the source for Dell Diagnostics were /dev/hda1 and the target /dev/sda1,
you would type:
dd if=/dev/hda1 /dev/sda1
You need to make sure /dev/sda1 is as large or
larger than /dev/sda1.
I think GRUB can boot a partition regardless of the status
of the bootable flag.
Good luck (and successful partition copying!)
Joel
--
Joel Roth
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-01-2009, 07:56 AM
Sven Joachim
Grub can't boot hda1 (vfat/diagnostics), need to do something from DOS?
On 2009-01-01 09:46 +0100, Joel Roth wrote:
> On Thu, Jan 01, 2009 at 09:25:55AM +0100, Sven Joachim wrote:
>> You must install the DOS bootloader with the "sys" command.
>
> I believe the DOS bootloader will simply overwrite GRUB,
> which resides in the boot sector of the disk, having
> no effect on the properties of the first partition.
No, it won't. The sys command only changes the bootsector of the
partition, it does not change the MBR.
Sven
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-01-2009, 08:45 AM
"Koh Choon Lin"
Grub can't boot hda1 (vfat/diagnostics), need to do something from DOS?
>>> You must install the DOS bootloader with the "sys" command.
>>
>> I believe the DOS bootloader will simply overwrite GRUB,
>> which resides in the boot sector of the disk, having
>> no effect on the properties of the first partition.
>
> No, it won't. The sys command only changes the bootsector of the
> partition, it does not change the MBR.
The DOS command to change the MBR is:
# fdisk /mbr
Koh Choon Lin
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org