Re: Stupid `dd` tricks (solved)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: plug-discuss
Subject: Re: Stupid `dd` tricks (solved)
Am 01. Dec, 2004 schwätzte Kevin so:

Ooops, didn't see this one :).

The question about using a Free Software boot loader stands, though.

ciao,

der.hans

> On Wed, 2004-12-01 at 09:52, Kevin wrote:
> > knoppix# mount /dev/hdd1 /mnt/hdd1
> > knoppix# dd if=/mnt/hdd1/w2k.fat32.img of=/dev/hda
> > { 35 minutes later }
>
> Replying to myself. I thought I had created an image of the whole disk
> (/dev/hda). Turns out, back when I created this image, I only grabbed
> the first (and only) partition on the disk (/dev/hda1).
>
> So, I deleted all the partitions on /dev/hda and started over. This
> time I booted knoppix and created a single partition on hda (/dev/hda1)
> that spanned the entire disk. Then I sprayed the image over it.
>
> knoppix# dd if=/mnt/hdd1/w2k.fat32.img of=/dev/hda1
>
> To fix the MBR, I again booted the WinTooKay install CD and used the
> FIXMB command in the recovery console. I probably could have done this
> step faster with a simple DOS bootdisk and the "fdisk /mbr" command, but
> I do not have a floppy drive.
>
> Finally, with the MBR restored it was looking into the first partition
> for a bootable OS. My previous `dd` command had placed all the files
> there, but it still would not boot without one final step.
>
> I booted knoppix one last time and set the "bootable" flag on the first
> partition (/dev/hda1). Apparently, this was enough to allow the MBR to
> hand off control to the OS sitting in hda1.
>
> Or least this is how I understand it. ;-) It boots now. Whew.
>
> ...Kevin
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


-- 
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  I only eat free-range vegetables that were hunted down and slain by
#  a member of my immediate family.  -- der.hans
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss