Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a dual boot 20GB drive with winxp (4 partitions, FAT32), and Mandrake 10.0 (4 partitions, reiser3).
Is there any way to use dd if=/dev/hda of=/dev/hdb from a knoppix live cd boot, to copy the 20GB into a 40GB or larger drive, having it bootable, and also have dd expand all the copied partitions into proportional sizes on the larger drive, using the entire drive? In otherwords, like Drive Image would handle a winxp only installation.
I was just about try this, but then luckily read where expert Neddy Seagoon on the Gentoo formum says not to use dd for this, as it will only make an exact 20GB copy, including the MBR partition table, and thus make the remaining free space on the new drive unusable. Is this correct, and is there any way around this limitation? I've googled for many hours, read the Gentoo and knoppix forums, and can't find anything explaining my exact circumstances.
I need winxp to run professional Music sequencing etc. software- Rosegarden is just not well-developed enough yet (hopefully soon!), compared to Cubase or Cakewalk Sonar4. I use Gentoo for everything else, but unfortunately in this case it appears I'm going to have to use winxp. I need to clone my xp to a new larger faster drive, on the same box.
"Is there any way to use dd if=/dev/hda of=/dev/hdb from a knoppix live cd boot, to copy the 20GB into a 40GB or larger drive, having it bootable, and also have dd expand all the copied partitions into proportional sizes on the larger drive, using the entire drive?"
"I was just about try this, but then luckily read where expert Neddy Seagoon on the Gentoo formum says not to use dd for this, as it will only make an exact 20GB copy, including the MBR partition table, and thus make the remaining free space on the new drive unusable. Is this correct, "
"is there any way around this limitation?"
Before you start make a boot floppy so that you can get back into your old Mandrake system if something doesn't work right.
Boot into Mandrake. Use fdisk to partition the new drive. Use mkfs to format the new Linux partitions. Use tar to copy the Linux partitions to the new partitions. Edit your grub.conf or lilo.conf on your new drive. chroot to / on new Mandrake and run lilo or grub-install. Boot into the new Mandrake and copy Windows using dd. The Windows file structure is simple minded enough that copying Windows that way should work.
1) dd as above
2) knoppix run qt_parted which you use to resize your partitions
3) hopefully when you click on apply it should overwrite the mbr
4) workaround if above fails....see if qtparted sees your partitions as PRIMARY if they are change one to extended then add a partition for the free space then resize and delete/shrink the newly created one