Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Multiple boot and hdd replacement
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th April 07:44
andy
External User
 
Posts: 1
Default Multiple boot and hdd replacement



crosposted!

Greetings
My setup is hda - fat32, hdb - mandriva2007 and 2006.
I intend to get hda out, finally got the permission ;-)
and replace with a bigger harddrive. Lilo is in mbr of hda.
Will my system boot after replacing hardrive ?
  Reply With Quote


  sponsored links


2 26th April 07:44
bit twister
External User
 
Posts: 1
Default Multiple boot and hdd replacement



not unitl you replace mbr contents.

I susggest loading lilo on diskette
lilo -b /dev/fd0
and test it.
  Reply With Quote
3 26th April 07:44
dances with crows
External User
 
Posts: 1
Default Multiple boot and hdd replacement


["Followup-To:" header set to comp.os.linux.hardware.]
On Tue, 12 Dec 2006 22:24:23 -0600, Andy staggered into the Black Sun
and said:


O RLY? (We know that from reading the headers. No need to repeat it.)

It depends on what exactly your BIOS is set up to do. Fortunately,
it's easy to reinstall a bootloader on the new disk. Boot from a
LiveCD, chroot /dev/hdbX /bin/bash (replacing X with the number of / on
hdb) , /sbin/lilo (assuming your lilo.conf is correct.)

Consider using GRUB instead of LILO, since GRUB provides a primitive
shell-like interface when things go totally FUBAR and LILO can't. This
can save your ass in certain cir***stances. BTDT. HTH,

--
"Depress the button," it said. Gloria looked at the button. "You're
a very ugly button," she began. --Phil Janes, _The Galaxy Game_
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
  Reply With Quote
4 26th April 18:00
ray
External User
 
Posts: 1
Default Multiple boot and hdd replacement


It will after you install the MBR.
  Reply With Quote
5 27th April 03:39
andy
External User
 
Posts: 1
Default Multiple boot and hdd replacement


mine hdb at the moment is a slave to hda and will remain that way since it
will be smaller then new, is it ok to put lilo into hdb's mbr and set the
boot accordingly in bios ? (I intend to do this before re-booting)

Thanks to All
  Reply With Quote
6 27th April 03:40
andrew ed
External User
 
Posts: 1
Default Multiple boot and hdd replacement


I just replaced the two drives in this machine for one larger drive, last
week.
hda1 was FAT32 with win 2K ( this particular install) hdbX's have my
Mandriva 2006 installed.
I used the live Gparted CD to copy all the partitions across to the new
drive and resize them as required to fill up all the space of the new drive.
It is very easy to use Gparted to copy/move partitions to different physical
drives with it's GUI and mouse control and has the added caution of
partitions on the actual drives are all left unmounted before they are
copied across. Beware the disk label being duplicated if you have the old
and new drives installed when you do a reboot it will throw a warning up on
the screen!

I then used the Mandriva 2006 boot DVD to reconfigure my lilo and change
the mount points of the partitions and it all dual boots correctly now.
That way I have everything perfectly set up as it was but with more space
and a spare IDE channel.

I still have the old 40GB drives in storage, however, the128 GB drive works
fine so after a while I may utilise the smaller drives elsewhere.

Andrew Ed
  Reply With Quote
7 27th April 03:40
andy
External User
 
Posts: 1
Default Multiple boot and hdd replacement


wchich labels first, of new or old ? or is it better to temporary reboot
just new drive? (old diconnected)

I believe that editing fstab will have to be done too, am I right?


I will use old one for backup/storage


Thank you
--
Thank you both, Andrew and Ed ;-)
Merry Christmas !
  Reply With Quote
8 27th April 03:41
andrew ed
External User
 
Posts: 1
Default Multiple boot and hdd replacement


I still had my old and new drives connected the first time I rebooted and it
came up with the error, so I moved the new drive to the primary master and
removed the others and it all booted up after editing the mount points and reconfiguring lilo.

That is correct, changing all references to mount points on the old drives
to the corresponding partitions on the new drive


I had my CD/DVD writer explode - literally embedding the tray cover in the
wall opposite whilst trying to restore a backup a few days ago, so I may
use my old drives as extra storage but not for important backups as they
have had a lot of use. I'm wondering now what to use in the future for backups!


It took about 90 minutes to complete. copy the partitions across to the new
drive, to re-size them and add two more partitions (one ext3, one FAT32)
and to reconfigure lilo and fstab.

Andrew Ed
  Reply With Quote
9 27th April 03:41
andy
External User
 
Posts: 1
Default Multiple boot and hdd replacement


Thank you, for me backup and storage are abot the same thing ;-)
yes, i know the difference and some day will have learn how to do backup
and restore a whole system.


--
Andrew and Ed are very slow, took'em 90 minutes to complete that course ;-)
  Reply With Quote
10 27th April 13:51
andrew ed
External User
 
Posts: 1
Default Multiple boot and hdd replacement


slow? :O)

Copying partitions across individually, resizing as needed before copying
the next one, checking for bad blocks etc. I might have been slow in the
way I went about it, but the machine is only a Duron700 with UDMA 66 IDE
interface so I didn't think it took too long. The operator had to borrow a
drive out of another machine too, as the exploded DVD unit is an overgrown
paperweight now!

It's the first time I have tried anything like that using gparted so I
didn't want to queue too many operations for it to do consecutively in case
of it failing part way, you can set it up to copy the partitions across and
resize them as it does so in one operation but I erred to be cautious the
first time!

You can install qtparted in to Mandriva and possibly even gparted the gnome
equivalent using urpmi. I chose to use a live CD route. So yes I was
slow! but it worked and I learnt how to do it for future use. I found
gparted easier to use than my Partition Magic (V5)that I have had for
several years, more functional and stable too!

:O)

Andrew Ed
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666