help-hurd
[Top][All Lists]
Advanced

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

Re: Creating working qemu image


From: Samuel Thibault
Subject: Re: Creating working qemu image
Date: Tue, 2 Feb 2010 01:23:00 +0100
User-agent: Mutt/1.5.12-2006-07-14

Allan McRae, le Tue 02 Feb 2010 02:04:46 +1000, a écrit :
>      fdisk /dev/loop0  (create one partition)
>      losetup -d /dev/loop0
>      losetup -o 32256 /dev/loop0 hurd.img
>      mkfs.ext2 -b 4096 -I 128 -o hurd -F /dev/loop0

Ah, that's why. The partitioning is limited to cylinders, i.e. it rounds
down your partition a bit, here I get

/dev/loop0p1               1         130     1044193+  83  Linux

which is not exactly like linux' loop device size
   7        0    1048544 loop0

So you indeed need to give mke2fs the proper size by hand.

Samuel




reply via email to

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