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

gee-thanx Re: GRUB woes (install to hde)



hi ya mike

On Fri, 30 Sep 2005, Mike McCarty wrote:

> > trivial way to make it boot as /dev/hda:
> > 	- assuming you are currently booting from /dev/hda to make the
> > 	clone
> > 		dd if=/dev/hda of=/dev/hde bs=446 count=1
> 
> I just checked, and with a floppy at least, it preserved the last
> bytes on the disc. So It appears that Alvin is correct. This
> should not wipe the PT portion of the MBR.

the partition table is the last bytes of the mbr ...
	512	the mbr
	----
	 64 	minus ( 4 * 16 ) bytes for the partitions
	  2	minus 2 bytes for the "bootble flag

bingo :-) .. thanx for double checking ...

	- even better if it was done on a disk that doesn't boot
	and now it does :-)

	- but that only brings up the boot laoader, whether
	it was grub or lilo menu .. and you may or may not 
	have to tweek the menu options to get it to really 
	start the boot process

c ya
alvin



Reply to: