boot to 9.0 on hdb
init 1
cd /
mkfs all the partitions you want to replace on hda
mount those partitions under /mnt/aroot, /mnt/ausr, /mnt/ahome, &c.
cp -a each of the directories from root to the new location: e.g.
cp -a /boot /mnt/aroot/
don't copy /tmp.
vi /mnt/aroot/etc/fstab and make sure it makes sense.
Not sure how to get grub to boot, but it's probably easier than lilo.
IIRC, you need something like:
vi /etc/lilo.conf and change any hdb references to hda
/sbin/lilo -r /mnt/aroot -b /dev/hda
If you get errors, abort and figure out why. Make sure you have a rescue
CD handy. If it breaks, it wasn't me.
HTH,
Jack
On Sat, 2003-01-04 at 08:04, mycal62 wrote:
> HI .
>
> I'm trying to move my Mdk 9.0 install on hdb to hda.
>
> To be as clear as I can , I installed 9.0 on a 6.4 wd drive ( hdb ) as
> a test install to see if I could get everything to work. I did and now
> have a very nice 9.0 install even with vmware working.
>
> on hda ( 60 gig Maxtor ) I had mdk 8.0. Since I got 9.0 working I wanted
> to logically move to the larger and faster drive
> hda. so I simply moved over my home partition from hdb to hda through
> file manager ( super user mode ) and installed 9.0 on hda. It installed
> fine , and my home settings worked fine. The problem I have run into is
> that while I have the printer, etc. all working fine on hdb ( old wd
> drive ) the new install on hda doesn't work right.
>
> what I would like to do is copy the install on hdb ( / less the /boot
> partition ) to the new hda install (ext2) .
>
> will I have to delete the contents of hda5 ( / ext3 ) first, saving the
> /boot to put back later?
> ( I know I'll have to adjust some things after this though I
> don't know what exactly
> perhaps fstab )
> Or can I simply use the file manager and copy over these partitions as I
> did /home ?
>
> I don't think so , but how can I do this ?
>
>
> hdb5=/ ext3 4023mb ----------------------------want to copy/move to hda5
> hdb6=swap
> hdb7=/home ext2 1922mb
>
> hda1=/mnt/windows vfat 6991mb
> hda5=/ ext2 9891mb-----------------------------destination for hdb5
> hda6=swap
> hda7=/home ext2 10786
> hdb8=/backup ext2 28398
>
> --
>
> Mike McNeese
> Springdale,
> Arkansas USA
>
> ���������������������������������������������������������
> Currently triple booting 98lite; MDK 8.0 kernel 2.4.3-20;
> MDK 9.0 kernel 2.4.19-16 Registered Linux User #248955
>
> ���������������������������������������������������������
>
> "If obstacles are what you see in your path...
> Then you have lost sight of your goal! "
>
>
>
> ----
>
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
--
Jack Coates
Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com