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

Re: dd question



On Mon, Oct 18, 2010 at 07:14:23PM +0200, Samuel Thibault wrote:
> Jose Luis Alarcon Sanchez, le Mon 18 Oct 2010 17:42:20 +0000, a ?crit :
> > On Tue, Oct 12, 2010 at 08:14:56PM +0200, Samuel Thibault wrote:
> > > 
> > > Mmm, this image is bogus, it doesn't have the size announced in its
> > > partition table.  Jose, please run
> > > 
> > > dd if=/dev/zero of=debian-hurd-03102010-qemu.img.tar seek=2146959359 bs=1 count=1
> > > 
> > > to extend its size, and reupload.  Else the swap area is just unusable.
> > > 
> > > Samuel
> > > 
> > 
> > Samuel, please,
> > 
> > What's the difference between run this two commands?:
> > 
> > dd if=/dev/zero of=debian-hurd-03102010-qemu.img.tar seek=2146959359 bs=1 count=1
> > 
> > dd if=/dev/zero of=debian-hurd-03102010-qemu.img seek=2146959359 bs=1 count=1
> > 
> > Do both "the same thing", or not?.
> 
> Oops, no, they don't. I meant to do the latter, of course, to extend the
> image *before* recompressing it.
> 
> Samuel
> 

Okey then. I think i read your mind and understanded what you meant :)

The image uploaded to 

http://dl.dropbox.com/u/6417512/Hurd/debian-hurd-03102010-qemu.img.tar.gz

was done using the latter command,

dd if=/dev/zero of=debian-hurd-03102010-qemu.img seek=2146959359 bs=1 count=1

So, now i'm trying to guess how to use that space that "can't be seen" for create a
Swap area.

Thanks you very much, Samuel.

Regards.

Jose.

-- 
http://lordofunix.eu5.org/

Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories..... You are talking about memories.
Rick Deckard. Blade Runner.


Reply to: