LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-07-2010, 01:26 PM   #1
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 11.04, UNE 10.10, CrunchBang Statler, Bodhi
Posts: 53

Rep: Reputation: 15
cloning mixed Linux - Win xp on new SSD for laptop


I have a multi-boot system in my MSI Wind netbook that includes Win xp home, Ubuntu, and another Linux distro. The internal HD is 160gb, but most of it isn't used. I just bought a 60gb SSD, and would like to use it as the primary disk in my netbook. I would like to clone the Win xp and Ubuntu volumes to the SSD, which would leave me plenty of space, even if I added another distro later. With gparted, I can see that there is an initial logical volume of about 4gb (dev/sda1) with 775mb used, and by mounting and checking it I can see that it has a boot folder in it. It is formatted as ext3 (no flags). I don't understand the MBR concept very well, so I'm wondering if this is where the MBR is stored. The next volume is my Windows volume and is formatted NTFS with a boot flag. Subsequent volumes are clearly Linux volumes, including swapfile volumes. I have already formatted the SSD as NTFS, but as of yet haven't added any partitions.

My question:
(1) How do I clone the volumes I want onto the SSD? (Presumably with dd or a similar utility).
(2) Does the destination volume have to be initially set to be the same as the source volume?
(3) Do I need that first partition or would a new one automatically be created if I reinstall Ubuntu or any Debian-based distro from scratch or use a utility to fix the MBR?

Thanks!
 
Old 02-08-2010, 10:07 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
If you clone, the disk being used needs to be the same as the disk being copied. Windows is not as portable as the unices.
You're better off doing a new install of XP on the disk on a pre-set size partition formatted ntfs.
 
Old 02-09-2010, 03:40 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 11,380

Rep: Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395
When I was a kid they used to say GIGO. Garbage in garbage out. That was a LONG time ago and still holds true.

I am not a fan of cloning unless the system is exactly the same hardware and I use only base installs for images. Too many oddities can happen later or with changes. For example the linux distro might have a deal about ssd's somewhere.

Two basic tasks are either to file based copy or bit based copy.

When I do clone I tend to use g4u which is dd and have used to up-size and down-size drives.

File based you might look at any number of apps from live cd's to partimage and clonezilla and OEM software.

It doesn't take that long to load it all up.

Last edited by jefro; 02-09-2010 at 03:41 PM.
 
Old 02-09-2010, 07:46 PM   #4
trentfox
Member
 
Registered: Jun 2008
Location: Peterborough, Ontario, Canada
Distribution: Ubuntu 11.04, UNE 10.10, CrunchBang Statler, Bodhi
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks for both of your replies. I ended up using a hybrid approach. I cloned the Windows xp volume, the small bootloader volume and the UNR 9.10 volume with dd, one at a time after first making a partition on the SSD large enough to hold each volume. The Windows and UNR had a lot of work put into them, and I didn't want to lose that. I also wanted grub, not grub2 as the bootloader, so after I verified that the Windows partition worked, I reinstalled CrunchBang 9.04 from scratch. The grub that resulted had all three OSes on the menu, and all worked.

Bootup time saving with Win xp and CrunchBang was spectacular. XP booted up in about 50 seconds on my netbook, a saving of more than a minute. CrunchBang and UNR used to take 55 sec to a minute to boot up to a working desktop (including wireless connection) on the old HD. The SSD cut that in about half for CrunchBang, and took off about 10 sec for UNR. I wonder if Jefro's point explains the bigger saving in CB, since it was installed from scratch and UNR wasn't. It won't matter - as soon as UNR 10.04 is released, I'll be replacing 9.10.
 
  


Reply

Tags
cloning, mbr, netbook, ssd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cloning linux partition to different laptop, invalid partition table dsollen Linux - Software 8 11-23-2009 08:50 PM
Managing Directory Services, Auth., & Security in Mixed Win/Lin Networks ITintuition Linux - Networking 0 11-01-2006 12:40 PM
Mixed Win/Lin LAN Foxy Linux - Networking 1 04-13-2004 11:37 AM
Linux distro for student laptop and cloning help linuxify Linux - Laptop and Netbook 1 02-16-2004 06:20 PM
mixed lan (client win + linux) qustion teo Linux - Networking 3 10-31-2003 09:00 AM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration