quickly partition disk, copy an image, install grub
From: Matt Price (matt.price_at_utoronto.ca)
Date: 09/20/05
- Previous message: Ron Johnson: "Re: OT: What do they mean: T1, T3, DS-3, DS-48, OC-3, OC-48, OC-192..."
- Next in thread: Gregory Seidman: "Re: quickly partition disk, copy an image, install grub"
- Reply: Gregory Seidman: "Re: quickly partition disk, copy an image, install grub"
- Reply: Jeff D: "Re: quickly partition disk, copy an image, install grub"
- Reply: Ron Peterson: "Re: quickly partition disk, copy an image, install grub"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Tue, 20 Sep 2005 09:20:33 -0400
Hi,
I have to install ubuntu or something similar on about 20 aging
workstations without cd drives. THese are donated boxes with small hard
drives (as small as 2.1 gig, but not all identical) all wiped clean.
my thought is: do a workstation install of ubuntu on one drive and get
it all cleaned up the way I want it; shrink the partition down to a
minimum size to avoid copying lots of empty sectors; make a disk image
with dd; shutdown, install a second drive;and then:
fdisk /dev/hdb, and set up / and swap partitions
mkswap /dev/hdb5 # do I need to do this?
# Do I need to create an e2fs fs on /dev/hdb1?
dd if=/path/to/image of=/dev/hdb1 # will this work if the partitions
# are not of exactly equal size?
dd if=/dev/hda of=/dev/hdb bs=448 count=1 # does this install GRUB?
so, my question is: is this the right way to go about this? am I
missing any steps? is there a better way to do it?
thanks much,
matt
-- -------------------------- .''`. Matt Price : :' : Debian User `. `'` & hemi-geek `- -------------------------- if you're an evil spambot, these addresses are for you: aardvark@derailleur.org, zeus@derailleur.org -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Ron Johnson: "Re: OT: What do they mean: T1, T3, DS-3, DS-48, OC-3, OC-48, OC-192..."
- Next in thread: Gregory Seidman: "Re: quickly partition disk, copy an image, install grub"
- Reply: Gregory Seidman: "Re: quickly partition disk, copy an image, install grub"
- Reply: Jeff D: "Re: quickly partition disk, copy an image, install grub"
- Reply: Ron Peterson: "Re: quickly partition disk, copy an image, install grub"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|