Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/hda first 1MB copy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
KAMIKAZE_
Guru
Guru


Joined: 09 Oct 2003
Posts: 306
Location: Riga, Latvia

PostPosted: Thu Aug 17, 2006 3:00 pm    Post subject: /dev/hda first 1MB copy Reply with quote

How can I copy first 1MB from /dev/hda to any file and backwards? without coding 8) is there any method with core tools?
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Thu Aug 17, 2006 3:19 pm    Post subject: Reply with quote

Copying the first megabyte from /dev/hda is done by
Code:
dd if=/dev/hda of=first_megabyte bs=1M count=1

_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum