Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Best Image / Config for simple disk cloning?< Next Oldest | Next Newest >
lasitter Offline





Group: Members
Posts: 5
Joined: Oct. 2007
Posted: Nov. 15 2007,18:19 QUOTE

I'm interested in using DSL to do a straight sector by sector copy on a computer that's using a drive with a proprietary partition and file structure on an old (PCI / ISA bus) clone.  It's very plain, with nothing as fancy as SCSI or USB -- just IDE HDD, CD-ROM, and floppy.  It's a 166mhz equivalent system with 16 megs and, VGA/SVGA.  

The owners were doing backups with an ancient Wangdat tape drive, which has since died.  Even when it was working the backup program only copied particular kinds of documents, and in the event of a crash could only recover by having the original vendor do a scratch install of the original system and then reload the data files from tape.  It was bad news all around, and having a complete image backup should be a great improvement.

The computer generally seems happy with DSL and is already booting this (current.iso) image:

ftp://ftp.oss.cc.gatech.edu/pub....ent.iso

System has two identical (same model) IDE drives, just over 1G.  I want to create a boot image CD that starts the machine and copies the 1st drive to the 2nd drive.  I've been told that part of the process will involve using a command like:

dd if=/dev/hda of=/dev/hdb bs=256K

The computer is set to boot from the CD first and the hard drive 2nd, so that's pretty standard.  I want the user to be able to stick in a boot CD and give it the three finger salute and then end up with a nice current backup.

I'd like to have the right isolinux.cfg (whatever) that would boot without spending a lot of time scanning for what is not there (SCSI, sound, USB, etc.), with it creating and loading ramdisks as needed.  Simple console would be fine -- no need for xwindows or a window manager.  And I NEVER want it to ask about partitioning or installing anything.

If you have tips for me that would be great, as I'd like this tiny organization to escape being pressured into "upgrading" a system that is presently doing everything that's needed.
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 15 2007,19:16 QUOTE

Take a look at the cheat codes (i.e. wiki, press F2/F3 at cd bootsplash).  You'll probably be interested in "noscsi nousb dma 3" among others...

You could also have that dd command executed automatically upon startup.
Back to top
Profile PM 
lasitter Offline





Group: Members
Posts: 5
Joined: Oct. 2007
Posted: Nov. 15 2007,21:28 QUOTE

Quote (^thehatsrule^ @ Nov. 15 2007,14:16)
You could also have that dd command executed automatically upon startup.

I've forgotten what little I ever knew about the inittab, etc., processes, and I'd be glad for whatever help was available in this area.
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 15 2007,23:09 QUOTE

Call your script from /opt/bootlocal.sh or even inline there.

Also for maximum efficiency use boot options of

2 base norestore legacy

as well all the noxyz options.

The 2 indicates to run at runlevel 2 which is root cli, which would execute your script in /opt/bootlocal.sh

Your script could shutdown or reboot upon completion so no operator intervention.
Back to top
Profile PM WEB 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Nov. 16 2007,03:05 QUOTE

i think he wants to know how to make a custom cd.
Back to top
Profile PM 
12 replies since Nov. 15 2007,18:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Best Image / Config for simple disk cloning?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code