bug-hurd
[Top][All Lists]
Advanced

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

Re: My failure to install Hurd on Debian GNU/Linux kvm


From: Svante Signell
Subject: Re: My failure to install Hurd on Debian GNU/Linux kvm
Date: Sat, 20 Aug 2011 16:54:21 +0200

On Sat, 2011-08-20 at 16:36 +0200, Thomas Schmitt wrote:

> There is no menu but only a GRUB prompt.
> I have to confess that i am quite clueless with GRUB commands.
> ls says:
>  (hd0) (hd0,msdos5) (hd0,msdos1)
> What i read in the Debian GNU/Linux grub.cfg does not give me ideas.
> Is there a way to mount the partitions of the "disk" in Linux,
> so i could read that grub.cfg ?

I've done this once before using losetup:

/sbin/fdisk -lu ./hurd-test.img 
...
./hurd-test.img1   *        2048    16848895     8423424   83  Linux
...

Calculate the offset from 2048*512=1048576 (change accordingly to your
start of the root partition, you seem to have the same value)

losetup -o 1048576 /dev/loop0 hurd-test.img
mount -t ext2 /dev/loop0 /mnt

cd /mnt and do whatever you want.

After being finished:
umount /dev/loop0
losetup -d /dev/loop0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]