Re: Okay to clone drive to larger size drive?

From: Paul Sherwin (paulSPAM_at_paulsherwin.co.uk)
Date: 04/08/05


Date: Fri, 08 Apr 2005 10:43:46 GMT

On Fri, 08 Apr 2005 01:42:18 GMT, Ohmster <notareal@emailaddress.com>
wrote:

>Hmmmm, I have a box of old computer junk and I think there are a couple
>of ISA cards in there that I just don't know what they are. Are these
>hard drive controllers and do you think that one of these will work?
>http://www.ohmster.com/~ohmster/picture/CardFront.jpg
>http://www.ohmster.com/~ohmster/picture/CardBack.jpg

The small one looks like an IDE controller with 2 interfaces, and the
big one looks like an old I/O board with floppy and IDE interfaces.
Either could be used in principle, but they'll be quite slow and
you'll need to reconfig the jumpers which may be difficult without
docs. I'd recommend buying a modern PCI IDE card from somebody like
Promise. That will 'just work'. Or get rid of the Zip drive :-)

>Ugh. I use grub to boot. No other OS on this machine. I have done lilo
>configs before but I have no idea of how to do grub. If I boot to a
>redhat CD as "linux single" or "linux rescue", do you think that I could
>then "do the grub thing" to make the system boot again? If so, are there
>any howto guides for this that you know of that would be good?

I don't use Redhat and I don't use grub. However, the principles are
the same for all distros and boot loaders. When you install a boot
loader, it reads info in a config file somewhere, uses this to find
the physical location of the boot kernel, and stores this in the HD
master boot record. If the kernel is then moved the info in the MBR
will be wrong, and that's why you need to rewrite it. Once you've
booted the new root system somehow you probably just need to type
'grub' at the command line as root, but I'm guessing here. 'man grub'
should give you more info. Pretty easy stuff really.

There are lots of ways to boot the HD from a floppy. Try this. Format
a DOS bootable floppy, find a copy of loadlin.exe from your
installation CD and put it on the floppy, then copy your kernel to the
floppy (probably it's in /boot). Boot the floppy, then type 'loadlin
kernelname root=/dev/hda1 ro' (assuming your kernel is called
kernelname and your root linux partition is /dev/hda1). Your system
should boot normally.

> I think
>that I might just have to clone both 30Gb hard drives to 80Gb hard drives
>and be done with it. Space is getting low now.

It is in percentage terms, but there's still quite a lot of free gigs.
Can you organize a clearout?

HTH, Paul

--
Paul Sherwin Consulting     http://paulsherwin.co.uk


Relevant Pages

  • Re: Naming harddisks (Linux)
    ... But I also see that for an USB drive it uses /dev/sdas the ... Does GRUB recognize SCSI drives? ... The first step in understanding the boot process is to ... The bootloader's job is to load the OSs kernel. ...
    (comp.os.linux.misc)
  • Re: changing default os in grub
    ... > I've just installed a 2.6.8 kernel in Sarge and was ... > hoping the adjustment to grub would return Sarge to ... # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ... # This entry automatically added by the Debian installer for an existing ...
    (Debian-User)
  • Re: booting linux using a floppy
    ... which kernel of the list to boot from. ... Note that this will at this point remove your ability to boot into windows. ... I think I recall that you said the grub loader... ... and grub will search for a partition containing grub's stage2 file ...
    (comp.os.linux.misc)
  • Re: Debian bootable on external USB-harddisk
    ... > They are all on the external harddisk since I want to boot from this ... >> fail if you have placed the kernel and initrd on the external ... >> available from BIOS. ... >> grub stage one on the external disk. ...
    (comp.os.linux.setup)
  • Re: GRUB Problems with Dell Optiplex GX1
    ... inappropriate boot image when they turn it on... ... It will boot from a floppy, but installing it to ... FreeBSD folks tend not to use Grub, ...
    (freebsd-questions)