Moving a partition

Leon Goldstein metapsych at earthlink.net
Mon Sep 1 10:08:39 PDT 2008


Ken Moffat wrote:

>I don't know what all those /'s are about, but ignore them.
>
>Ken Moffat wrote:
>  
>
>>Any opinions on this procedure for moving a linux install
>>from one partition (hda1) to another (sda4)?
>>
>>////cd /mnt/sda4
>>
>>//dump -0uan -f - / | restore -r -f -
>>
>>//
>>Then modify /etc/fstab.
>>
>>Seems simple... ha!
>>
>>Thanks for any clues.
>>
>>Ken
>>
>>
>>//////
>>_______________________________________________
>>Linux-users mailing list ( Linux-users at linux-sxs.org )
>>Unsub/Password/Etc: 
>>http://linux-sxs.org/mailman/listinfo/linux-users
>>
>>Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
>>  
>>    
>>
>
>
>  
>
Seems to me you would also need to reinstall  GRUB.
One technique I have used is to boot Knoppix, chroot,and run grub-install.
However, I'm not sure if this will point to the changed partition, so 
I'd check /boot/grub/menu.lst to see if the correct partition is listed.

-- 
Leon A. Goldstein

Powered by Libranet 3.0 Debian Linux
System G2




More information about the Linux-users mailing list