Re: [SLE] Upgrade Hard Drive - hda



Carl Hartung wrote:
On Tuesday 30 May 2006 19:28, Jim Flanagan wrote:
I currently have a 9.3 box with 3 drives installed, hda (windows98), hdb
(suse 9.1) and sda (suse 9.3) which is my default and almost always used
boot. I want to ditch the hda drive, and either add a new drive in its
place, or just use the current hdb drive. Three questions.
1. What is the best / easiest way to move or copy my current grub from
the current hda to the new drive?
2. If I use my existing hdb, do I need to configure it to hda, or will
it work as is?
3. Can I add another SATA drive (the sda is a SATA) and do away with the
2 IDE drives altogether?

Hi Jim,

I think you'd have better luck if you narrowed your question(s) down a bit. As it stands, some of the scenarios you've postulated contradict each other, meaning each requires a separate "write up" (too much work!)

General responses:

* Plan your changes so you understand, in advance, where each device is going to 'land'.

* Write down what each device will be mapped to after the change.

* Just before you shut down for the physical rearrange/upgrade, modify your bootloader (presumably grub) configuration and reinstall it in what will be the correct location for the new arrangement so the system will 'just boot' when you turn it back on. YaST's bootloader configuration module makes this part relatively easy. Also do the following:

* When you move a Linux drive from one position to another, the only thing that /should/ change is the device label, i.e. if hdb1 is 'swap' and hdb2 is '/', and you move/add things so the drive becomes 'hdd'... 'swap' becomes 'hdd1' and '/' becomes 'hdd2', and so on. Therefore, in each root partition on the drives that will be affected, you would need to also change the appropriate entries in /etc/fstab from 'hdbX' to 'hddX'. These changes plus updating the bootloader should make it possible to boot into the new configuration without difficulty.

* Check your system's BIOS to see what boot options are supported. If, for example, you wanted to eliminate your IDE hard drives, you'd need to confirm that you can enable one or the other SATA drives as the first boot device.

* Take your time during the planning phase to "cross your T's and dot your I's"... double and triple check your device mappings and bootloader changes in advance... doing so will save you substantial headaches and 'repair' work.

hth & regards,

Carl

Hi Carl,

Sorry to be confusing. The main thing I want to do is get rid of the current hda, containing grub and win98. I can either replace that drive with another drive, or use the existing hdb instead. My current install of 9.3 on sda will not change (until I upgrade to 10.0 or 10.1 at a later date). When you are talking about chaning device labels, where and how do I do this? In yast, or edit a file somewhere? I do realize that I need to make /etc/fstab point to these changes, but not sure where to start. Also, how do I get the boot configuration to the new drive?

Many thanks,

Jim F

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • RE: Installing Debian on second hard disk
    ... > instead of hda. ... > or hdb at the time of installation of Debian. ... > will debian still boot or will it refuse to boot? ... initially realize that grub labels drives differently than the kernel does. ...
    (Debian-User)
  • Re: rsync clone - ubuntu failure
    ... boot knoppix, mount drives and ... ... no error messages shown - all good, change jumpers of hdb from slave to ... but what did you do with the original hda? ...
    (Ubuntu)
  • Re: BootIt NG high level steps - best approach??
    ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: 160 Gb drive in a removable caddy give "disk error press ctrl alt del" on boot
    ... But the 120Gb does boot. ... so, you're working with only a single mobile rack, right? ... GB HDD it boots & functions just fine, ... The full capacity has always been seen of all drives it is just a boot ...
    (microsoft.public.windowsxp.hardware)
  • Re: HDD Image Backup Restore Software Recommendations
    ... My experience was that, no matter which HDD you booted from, you could not see the non-boot HDD if it was configured with a primary Windows boot partition. ... pressing F12, I am immediately taken to my BIOS start list, namely the three ... it may be selectable among your installed drives, ...
    (microsoft.public.windowsxp.general)