SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my PC I currently have a 20GB IDE drive with Slackware64 installed. I also have a 300GB IDE drive with Windows XP SP2 installed.
I'd like to format the windows drive and copy the Slackware64 installation from the 20gb to the 300GB drive. When I boot up I want it to be just as it's supposed to be, but with the Slack on the new drive.
are you looking to get rid of the 20GB drive or just make the slack drive bigger? You could just partition off say 150GB for Slackware on the 300GB drive then mount the 150GB as the /home directory and copy contents from /home on 20GB to /home on 150GB drive.
Actually I'm looking to use all 300gb for slack and use the 20gb drive for Windows.
I can just format and reinstall Slackware if I want but everything seems to be working pretty well as it is...so if I can just copy it over that would be good.
I believe gparted can resize NTFS-5 partitions. You can grab a build script from slackbuilds.org.
Before starting, check the XP installation for actual drive space being used. You'll want actual usage to be less than 20 GB. You might also want to perform some defragging of the XP partition.
If all of that is in your favor, gparted can help you move things.
Basically:
1. Resize the 300GB partition to 20 GB or less.
2. Move the Slackware 20 GB partition to the 300 GB drive.
3. Move the resized 20 GB XP partition to the 20 GB drive.
4. Resize the 20 GB Slackware partition on the 300 GB drive to any size you want.
Be sure to create or copy any swap partition too.
If you have VirtualBox (or any virtual system tool) installed you could simulate the exercise there several times to ensure your plan will work the way you think.
You'll want to run gparted from a Live CD such as Parted Magic.
Before starting, check the XP installation for actual drive space being used. You'll want actual usage to be less than 20 GB. You might also want to perform some defragging of the XP partition.
I plan to wipe the XP partition all together and reinstall on the 20gb drive. I don't want to move that, I just want to format and reinstall XP on the 20gb drive fresh.
Quote:
Originally Posted by Woodsman
1. Resize the 300GB partition to 20 GB or less.
2. Move the Slackware 20 GB partition to the 300 GB drive.
3. Move the resized 20 GB XP partition to the 20 GB drive.
4. Resize the 20 GB Slackware partition on the 300 GB drive to any size you want.
I'll just use 2 and 4.
Quote:
Originally Posted by Woodsman
If you have VirtualBox (or any virtual system tool) installed you could simulate the exercise there several times to ensure your plan will work the way you think.
I wish I could get VirtualBox working, but I'm not adept enough to compile from source yet. If there is a package for Slack64, I would definately have it going.
Quote:
Originally Posted by Woodsman
You'll want to run gparted from a Live CD such as Parted Magic.
I plan to wipe the XP partition all together and reinstall on the 20gb drive. I don't want to move that, I just want to format and reinstall XP on the 20gb drive fresh.
Traditionally, people have advised installing XP first because the Microsoft people design their systems with the erroneous idea that only they exist. Thus, the Windows installer will install its own boot loader on the MBR of the primary boot drive. Linux based systems don't care where they are installed. One way or another, you'll end up installing lilo or grub and then in that boot loader chain load the XP boot loader. You do not have to install XP first. That is only the recommendation. As long as you understand the myopia of the Microsoft design, you can install either system in any order. Just keep a boot CD/DVD handy.
Quote:
I wish I could get VirtualBox working, but I'm not adept enough to compile from source yet. If there is a package for Slack64, I would definately have it going.
You don't need to build from source. Visit here to find a build script. Visit here to download pre-compiled packages.
Traditionally, people have advised installing XP first because the Microsoft people design their systems with the erroneous idea that only they exist. Thus, the Windows installer will install its own boot loader on the MBR of the primary boot drive. Linux based systems don't care where they are installed. One way or another, you'll end up installing lilo or grub and then in that boot loader chain load the XP boot loader. You do not have to install XP first. That is only the recommendation. As long as you understand the myopia of the Microsoft design, you can install either system in any order. Just keep a boot CD/DVD handy.
I plan to install Windows on the 20GB and disconnect the 300GB drive. Then reconnect the 300GB drive. That's how I set it up now. If I want to boot to Slack, I let it go...if I want to boot to Windows at the boot screen I press ESC and choose the correct drive and it boots up.
Quote:
Originally Posted by Woodsman
You don't need to build from source. Visit here to find a build script. Visit here to download pre-compiled packages.
Nice...if I can get it to work, I'll just not install Windows. I'll have two installs of Slack, a back up incase I destroy one...lol
Nice...if I can get it to work, I'll just not install Windows. I'll have two installs of Slack, a back up incase I destroy one...lol
Hey, that's not a bad idea for testing... copy the entire fs over to the other disk, remove the "good" disk, hack away without fear of breaking stuff, then if everything gets screwed up, reattach the good disk and wipe the experimental one! Might have to remember that one...
Lilo: /etc/lilo.conf (before rebooting, must run the lilo command to update)
Ok, I edit the lilo.conf on /dev/hdb1...but when I run lilo it affects only /dev/hda...because when I boot that's where I end up no matter what I choose at the lilo boot menu.
How do I run lilo so it affect /dev/hdb1?
I've updated the fstab on /dev/hdb1, but it doesn't take affect because it switchs to /dev/hba.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.