let me get this straight.

all I want to copy are the partitions on /

they already exist on hda5 and are mounted under /80 on the hdb install ,

so if I do a ( for example ) :

boot to 9.0 on hdb
init 1
cd /
cp -a /bin /mnt/80/bin
this will copy bin on hdb5 to hda5 and write over the old files that are there now?

and if I do the same for /dev, /etc, /initrd, /lib, /sbin, /usr, /var

it will copy these to the new location ?

then all I have to do is mcedit /etc/fstab , and mtab and fix the entries and then adjust lilo.conf, rerun lilo

and reboot?

also what does this mean and is it needed here ?

vi /etc/lilo.conf and change any hdb references to hda
/sbin/lilo -r /mnt/aroot -b /dev/hda


thanks for the help.

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! "



Jack Coates wrote:

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


Reply via email to