quickly partition disk, copy an image, install grub

From: Matt Price (matt.price_at_utoronto.ca)
Date: 09/20/05

  • Next message: Scot Hilden: "Re: qmailadmin 500 internal server error"
    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
    

  • Next message: Scot Hilden: "Re: qmailadmin 500 internal server error"

    Relevant Pages

    • Re: quickly partition disk, copy an image, install grub
      ... Matt Price wrote: ... > I have to install ubuntu or something similar on about 20 aging ... > workstations without cd drives. ...
      (Debian-User)
    • Re: Manual Migration from 4.5 to 2003
      ... I am working with a new server. ... I am also planning to use the external drives as ... definitely do the workstations one at a time. ... >> using the factory CD and doing the install myself good enough? ...
      (microsoft.public.windows.server.sbs)
    • Re: Installing Fedora without a CDROM: my HOWTO
      ... Here is my HOWTO on installing Linux from a USB drive, ... disk or USB key rather than a CDROM boot disk. ... Put auxillary files (special drivers, post setup install config, ... This way I can mount any number of hard drives in the ...
      (Fedora)
    • Re: Booting Vista from external drive violate MS EULA?
      ... of OS install to diff drives. ... Meaning this boots off usb vista, if there is another hard drive ...
      (microsoft.public.windows.vista.general)
    • Re: XP HOME BOOT FAILURE
      ... I did check both hard drives using the setup CD ROM that came with the new ... downloaded and updated the driver for the original 80 GB Maxtor hard drive. ... > If you run a repair install as I initially described, ... >>> on, follow the screens. ...
      (microsoft.public.windowsxp.accessibility)