Re: Booting from an imaged HD

From: Jon Reynolds <jonr@destar.net>
Date: Tue Apr 13 2004 - 21:59:23 AKDT

On Tue, 2004-04-13 at 19:00, Jon Reynolds wrote:
> I need a little help remembering things. One night at the meeting we
> made an image of a debian install that Greg made. I imaged the install
> then Fielder and I recreated the partitions and reimaged the disks.
> After we reimaged them we had to issue a command that I cannot remember.
> I hope he's reading this and remembers.
>
> When I look at the partitions in fdisk I see that the first created
> partition has a '+' symbol by it, what does this mean and how do I move
> it to the second partition /dev/hda2? It is not the bootable flag that
> is the '*' symbol which is already on the 2nd partition, where it should
> be.
>
> Looking at one of the systems that I have with debian already installed
> and working through fdisk the partitions are setup this way.
>
> /dev/hda1 swap
> /dev/hda2 /boot * +
> /dev/hda3 /
>
> Looking at one of the imaged drives, it looks this way:
>
> /dev/hda1 swap +
> /dev/hda2 /boot *
> /dev/hda3 /
>
> The '+' is on the swap, does this matter? What is the significance of
> the '+'?
>
> Another thing, if I boot using the debian HD that works with my imaged
> drive as master on the second ide channel, I can run 'lilo -M /dev/hdc'
> and it will write a MBR onto that drive.
>
> If I boot using a bootable rescue CD that I have and try to issue the
> same command it tells me that the drive is read-only. I think what
> Fielder and I were issuing was the command that overrode this error.
>
> Thanks for any ideas,
>
> Jon
>

mount /dev/hda3 /mnt/hda
mount /dev/hda2 /mnt/hda/boot
chroot /mnt/hda/ lilo

That was it, I had forgotten about chroot.

Jon

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Apr 13 22:12:38 2004

This archive was generated by hypermail 2.1.8 : Tue Apr 13 2004 - 22:12:39 AKDT