Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Aug 2014, 06:20
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Clone an Ubuntu installation with pmirror
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3250
Location: Ontario

PostPosted: Sat 16 Aug 2014, 14:21    Post subject:  Clone an Ubuntu installation with pmirror  

Here is how to clone an Ubuntu installation to another disk (or partition)
using pmirror which most puppies have.

You should be able to boot the clone if grub4dos is run to install
a menu.lst file in the first partition.

When you boot up your computer you will see a screen with
'Advanced Menu'. You choose that menu and one of the
options is 'Find Grub2'. There is a wait of about 15 seconds.

You may have to press the S key to skip mounting other drives
and you may need to choose 'Restart X' . You may struggle but
you should be able to get to the Ubuntu desktop.

_______________________________________________________

I had a particularly difficult situation with a damaged Ubuntu 10.04.
Here is how I solved the cloning.

1) I booted with a CD of puppy linux. and I cloned the Ubuntu partition with pmirror.

2) I ran grub4dos (the latest version)

3) Type 'bklid' in terminal to find the identification number(UUID) of the
destination partition.

4) In the destination partition I opened /boot/grub.cfg with a text editor.
Note : there is a warning to not edit this file, but disregard this.
Using your text editor do a replacement of the old identification number
(UUID) with the new identification number several times.
It's simple to do.

5) To avoid having trouble with mounting other hard drives (partitions)
you should edit the /etc/fstab file in the destination partition.
For instance here is how I modified my fstab file. Note that I commented
out all lines except one. Now Ubuntu won't try to mount any disks except
the Ubuntu install. Note : if you know how to edit fstab properly then go ahead
and do it however this is the simplest method.

Code:
proc            /proc           proc    nodev,noexec,nosuid 0       0
#/dev/sda1       /               ext3    errors=remount-ro 0       1
#UUID=daa9c35b-0dad-40e7-8cd1-6b153e9d841e none            swap    sw              0       0
#/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
#/dev/sda5 /media/300GB  ext2  defaults 0  0


6) Now when I boot the computer I choose 'Advanced menu'
and 'Find Grub2'. I wait around 15 seconds and another menu
pops up. I choose 'Restart X' and I get to Ubuntu desktop.
Use the 'mount' command in the terminal to mount other partitions.

___________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0539s ][ Queries: 11 (0.0109s) ][ GZIP on ]