* Imaging the hard drive? @ Octavian Rasnita ` Janina Sajka 0 siblings, 1 reply; 13+ messages in thread From: Octavian Rasnita @ UTC (permalink / raw) To: Blinux-list Hi all, Do you know if I can create an image of the hard disk if I have Red Hat installed on it? I would like to use Norton Ghost from a floppy disk for that. If it is not possible, do you know if there is any imaging application for Linux? I want to create that image to be able to install it with no sighted help, or on another computer. Thank you. Teddy, My dear email address is orasnita@yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? Imaging the hard drive? Octavian Rasnita @ ` Janina Sajka ` Mike Gorse 0 siblings, 1 reply; 13+ messages in thread From: Janina Sajka @ UTC (permalink / raw) To: blinux-list Imaging in linux is the easiest imaging you will ever do. Use the dd command partition by partition as follows: dd if=[partition] of=[filename] So, to image your third partition on the first IDE disk to a file in /home: dd if=/dev/hda3 of=/home/hda3.img To go the other way and restore from this file: dd if=/home/hda3.img of=/dev/hda3 PS: Your mbr will be saved when you image /dev/hda1. Or, you can do it separately as explained in the lilo installation HOWTO: dd if=/dev/hda of=/home/mbr.img bs=512 count=1 I used to use ghost. This is much easier. On Mon, 18 Mar 2002, Octavian Rasnita wrote: > Hi all, > > Do you know if I can create an image of the hard disk if I have Red Hat > installed on it? > I would like to use Norton Ghost from a floppy disk for that. > If it is not possible, do you know if there is any imaging application for > Linux? > > I want to create that image to be able to install it with no sighted help, > or on another computer. > > Thank you. > Teddy, > My dear email address is orasnita@yahoo.com > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list > -- Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB) Email: janina@afb.net Phone: (202) 408-8175 Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Janina Sajka @ ` Mike Gorse ` Willem van der Walt<vdwaltw@health.gov.za> ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Mike Gorse @ UTC (permalink / raw) To: blinux-list Janina, I am not sure that that would work well for what he wants to do. I would not trust dd to make an image of a file system for the purpose of transporting it to another computer which may have a different hard disk and a Linux partition of a different size. Tar should work well, however, so long as you pass it parameters to exclude anything that you do not want copied (ie, /proc). -- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org -- On Mon, 18 Mar 2002, Janina Sajka wrote: > Imaging in linux is the easiest imaging you will ever do. > > Use the dd command partition by partition as follows: > k ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Mike Gorse @ ` Willem van der Walt<vdwaltw@health.gov.za> ` Janina Sajka ` Anders Holmberg 2 siblings, 0 replies; 13+ messages in thread From: Willem van der Walt<vdwaltw@health.gov.za> @ UTC (permalink / raw) To: blinux-list Hi, I have done that successfully accross different disks. I think as long as one dd the partition with an existing fs on it to a partition on the new disk with a simmelar partition that is the same size or larger as the origional one, one should be ok. regards, Willem On Tue, 19 Mar 2002, Mike Gorse wrote: > Janina, I am not sure that that would work well for what he wants to do. > I would not trust dd to make an image of a file system for the purpose of > transporting it to another computer which may have a different hard disk > and a Linux partition of a different size. Tar should work well, however, > so long as you pass it parameters to exclude anything that you do not want > copied (ie, /proc). > > -- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org -- > > On Mon, 18 Mar 2002, Janina Sajka wrote: > > > Imaging in linux is the easiest imaging you will ever do. > > > > Use the dd command partition by partition as follows: > > > k > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list > -- Willem van der Walt Information Services Directorate Department of Health South Africa tel: 27 12 3120700 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Mike Gorse ` Willem van der Walt<vdwaltw@health.gov.za> @ ` Janina Sajka ` Jude DaShiell ` Anders Holmberg 2 siblings, 1 reply; 13+ messages in thread From: Janina Sajka @ UTC (permalink / raw) To: blinux-list You're correct, Mike. dd will write an exact byte by byte image. He was asking about Ghost, and I think this would be the analog to Ghost. tar is also an excellent choice, however. On Tue, 19 Mar 2002, Mike Gorse wrote: > Janina, I am not sure that that would work well for what he wants to do. > I would not trust dd to make an image of a file system for the purpose of > transporting it to another computer which may have a different hard disk > and a Linux partition of a different size. Tar should work well, however, > so long as you pass it parameters to exclude anything that you do not want > copied (ie, /proc). > > -- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org -- > > On Mon, 18 Mar 2002, Janina Sajka wrote: > > > Imaging in linux is the easiest imaging you will ever do. > > > > Use the dd command partition by partition as follows: > > > k > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list > -- Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB) Email: janina@afb.net Phone: (202) 408-8175 Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Janina Sajka @ ` Jude DaShiell ` John 0 siblings, 1 reply; 13+ messages in thread From: Jude DaShiell @ UTC (permalink / raw) To: blinux-list Why not make everybody happy and pipe the dd output into tar with the Z option so compressed tar files come out? Is /proc all that needn't be backed up or do other directory trees exist too? I could make a little script out of this perhaps and share it with the list. The thing is, it's possible to make those compressed tar files land on zip disks which is how I'd do it for myself but the thing I'd like to figure out is if tar could be told to put a unique disk number into each file it wrote on those zip disks. That way ordering of disks for restore would be easy for blind or sighted people. On Tue, 19 Mar 2002, Janina Sajka wrote: > You're correct, Mike. dd will write an exact byte by byte image. He was > asking about Ghost, and I think this would be the analog to Ghost. tar is > also an excellent choice, however. > On Tue, 19 Mar 2002, Mike Gorse wrote: > > > Janina, I am not sure that that would work well for what he wants to do. > > I would not trust dd to make an image of a file system for the purpose of > > transporting it to another computer which may have a different hard disk > > and a Linux partition of a different size. Tar should work well, however, > > so long as you pass it parameters to exclude anything that you do not want > > copied (ie, /proc). > > > > -- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org -- > > > > On Mon, 18 Mar 2002, Janina Sajka wrote: > > > > > Imaging in linux is the easiest imaging you will ever do. > > > > > > Use the dd command partition by partition as follows: > > > > > k > > > > > > > > _______________________________________________ > > Blinux-list mailing list > > Blinux-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/blinux-list > > > > -- > > Janina Sajka, Director > Technology Research and Development > Governmental Relations Group > American Foundation for the Blind (AFB) > > Email: janina@afb.net Phone: (202) 408-8175 > > Chair, Accessibility SIG > Open Electronic Book Forum (OEBF) > http://www.openebook.org > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Jude DaShiell @ ` John 0 siblings, 0 replies; 13+ messages in thread From: John @ UTC (permalink / raw) To: blinux-list On Sunday 11 August 2002 01:15, Jude DaShiell wrote: > Why not make everybody happy and pipe the dd output into tar with the Z > option so compressed tar files come out? Is /proc all that needn't be That is not how you use tar, and tar will get extremely shirty about it. You use tar thus: tar -cl -C / . boot home ... -c means create -l means use local filesystems (that is, don't cross mount-points) -C means change to the specified directory before starting work Then I named the filesystems to backup. Change to suit your circumstances. > backed up or do other directory trees exist too? I could make a little > script out of this perhaps and share it with the list. The thing is, it's > possible to make those compressed tar files land on zip disks which is how > I'd do it for myself but the thing I'd like to figure out is if tar could > be told to put a unique disk number into each file it wrote on those zip > disks. That way ordering of disks for restore would be easy for blind or > sighted people. Zip disks are awfully small, and have these difficulties: 1) Subject to erasure by fluctuating magnetic fields (think mobile phones that vibrate) 2) You require a zip drive to read them 3) Are expensive. Did I mention small? In contrast, a CD burner costs about the same, maybe less that a Zip drive. In contrast, 1) CDs are immune to fluctuating magnetic fields 2) Can be read in any (reasonably recent) CD drive 3) Are relatively large - over six times the capacity of a 100 Mbyte Zip disk. 4) Are cheap. I recomment afio (which does not come with RHL) over tar for backup purposes. You can specify the volume size for both, and you can run a user script at enf-of-volume for each, but the size you tell tar is the size of the uncompressed data whereas afio understands the size you tell it is the amount of compressed data to write. > > On Tue, 19 Mar 2002, Janina Sajka wrote: > > > You're correct, Mike. dd will write an exact byte by byte image. He was > > asking about Ghost, and I think this would be the analog to Ghost. tar is > > also an excellent choice, however. > > On Tue, 19 Mar 2002, Mike Gorse wrote: > > > > > Janina, I am not sure that that would work well for what he wants to do. > > > I would not trust dd to make an image of a file system for the purpose of > > > transporting it to another computer which may have a different hard disk > > > and a Linux partition of a different size. Tar should work well, however, > > > so long as you pass it parameters to exclude anything that you do not want > > > copied (ie, /proc). > > > > > > -- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org -- > > > > > > On Mon, 18 Mar 2002, Janina Sajka wrote: > > > > > > > Imaging in linux is the easiest imaging you will ever do. > > > > > > > > Use the dd command partition by partition as follows: > > > > > > > k > > > > > > > > > > > > _______________________________________________ > > > Blinux-list mailing list > > > Blinux-list@redhat.com > > > https://listman.redhat.com/mailman/listinfo/blinux-list > > > > > > > -- > > > > Janina Sajka, Director > > Technology Research and Development > > Governmental Relations Group > > American Foundation for the Blind (AFB) > > > > Email: janina@afb.net Phone: (202) 408-8175 > > > > Chair, Accessibility SIG > > Open Electronic Book Forum (OEBF) > > http://www.openebook.org > > > > > > > > _______________________________________________ > > Blinux-list mailing list > > Blinux-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/blinux-list > > > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list > > -- Cheers John. Please, no off-list mail. You will fall foul of my spam treatment. Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Mike Gorse ` Willem van der Walt<vdwaltw@health.gov.za> ` Janina Sajka @ ` Anders Holmberg ` Peter Toneby 2 siblings, 1 reply; 13+ messages in thread From: Anders Holmberg @ UTC (permalink / raw) To: blinux-list Helo! I have a question about imaging harddrives. Can i use dd to create an image of a direcoto on a harddrive. Fo example i have a dirctor callde waves whith alot of subdirectories. The waves directory is on a drive mounted as /mnt/d and has the tevice name /dev/hdc2. How would i typ to make an image oftthe diretory with the subdirectories. /Anders. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Anders Holmberg @ ` Peter Toneby ` Anders Holmberg 0 siblings, 1 reply; 13+ messages in thread From: Peter Toneby @ UTC (permalink / raw) To: blinux-list Hi Anders You should mount /dev/hdc2 and then copy the directory (cp -r), there is no reason to make it harder than that. /Peter On Tue, Mar 19, 2002 at 09:00:15PM +0100, Anders Holmberg wrote: > Helo! > I have a question about imaging harddrives. > Can i use dd to create an image of a direcoto on a harddrive. > Fo example i have a dirctor callde waves whith alot of subdirectories. > The waves directory is on a drive mounted as /mnt/d and has the tevice > name /dev/hdc2. > How would i typ to make an image oftthe diretory with the subdirectories. > /Anders. -- Alpha Test Version: Too buggy to be released to the paying public. Beta Test Version: Still too buggy to be released. Release Version: Alternate pronunciation of "Beta Test Version". ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Peter Toneby @ ` Anders Holmberg ` Peter Toneby 0 siblings, 1 reply; 13+ messages in thread From: Anders Holmberg @ UTC (permalink / raw) To: blinux-list Hello! Yes i know but if i would lik to create a cde-image of the tdirectory? Isn't dd a good suggestiont then? /Anders. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Anders Holmberg @ ` Peter Toneby ` Octavian Rasnita ` Anders Holmberg 0 siblings, 2 replies; 13+ messages in thread From: Peter Toneby @ UTC (permalink / raw) To: blinux-list no mkisofs is what you want, it creates an ISO from a directory. see: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/mkisofs.html You should find the proper link somwhere among all that crap. /Peter -- Alpha Test Version: Too buggy to be released to the paying public. Beta Test Version: Still too buggy to be released. Release Version: Alternate pronunciation of "Beta Test Version". ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Peter Toneby @ ` Octavian Rasnita ` Anders Holmberg 1 sibling, 0 replies; 13+ messages in thread From: Octavian Rasnita @ UTC (permalink / raw) To: blinux-list Could that be used for creating an image of a key from the hard disk? The key of Jaws for Windows, for example. Teddy, My dear email address is orasnita@yahoo.com ----- Original Message ----- From: "Peter Toneby" <woormie@acc.umu.se> To: <blinux-list@redhat.com> Sent: Wednesday, March 20, 2002 12:14 AM Subject: Re: Imaging the hard drive? no mkisofs is what you want, it creates an ISO from a directory. see: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/ mkisofs.html You should find the proper link somwhere among all that crap. /Peter -- Alpha Test Version: Too buggy to be released to the paying public. Beta Test Version: Still too buggy to be released. Release Version: Alternate pronunciation of "Beta Test Version". _______________________________________________ Blinux-list mailing list Blinux-list@redhat.com https://listman.redhat.com/mailman/listinfo/blinux-list _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Imaging the hard drive? ` Peter Toneby ` Octavian Rasnita @ ` Anders Holmberg 1 sibling, 0 replies; 13+ messages in thread From: Anders Holmberg @ UTC (permalink / raw) To: blinux-list Hello! Thank you. I'l give it a try. /Anders. ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Imaging the hard drive? Octavian Rasnita
` Janina Sajka
` Mike Gorse
` Willem van der Walt<vdwaltw@health.gov.za>
` Janina Sajka
` Jude DaShiell
` John
` Anders Holmberg
` Peter Toneby
` Anders Holmberg
` Peter Toneby
` Octavian Rasnita
` Anders Holmberg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).