Setting up partitions for dual booting XP and Slackware 11
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
Setting up partitions for dual booting XP and Slackware 11
Background:
I had a dual boot system before but that was back in 2003. It was windows 2000 / Mandrake 9. I have been away from computers for 2 years so my memory has faded on how to set up a dual boot system a little. Also mandrake did everything so I did not learn how to set it up.
Alright my question/concern:
My partitions are setup like this...
/dev/hda (30GB) -Windows XP SP2 install
/dev/hda2 (0GB) -Extended
/dev/hda5 (40GB) -NTFS for Audio Files
/dev/hda6 (40GB) -NTFS for Data Files
Unallocated is 8GB right now but I can move some things around and make more space. I plan on getting a 500GB HDD that will copy the whole file structure of this drive over to so soon the unallocated space will be some where in the range of 370GB. More than enough for Linux. >
I was planing on creating two ext2 partitions a 1GB swap and 20GB for Slackware. From what I read that is all I would need to do but I also want to use GRUB to be the boot loader. I have been looking around trying to find doc's on how to go about doing this with Slackware but everything keeps saying Red Hat or SuSE.
When you buy your new hhd, you can add this hdd as separate dir in Slackware like /data or /media, where all your files (movies, music, etc) will be located. For Linux system 8Gb will be more than enough.
Now you have 8Gb raw space. You need to boot slackware and use cfdisk, when it asks. Then allocate 1-2 Gb for swap, and other space for the root filesystem of your choice. As well, you can use fdisk, but cfdisk is more intuitive.
You can find grub in /extra, install and use grubconfig.
Ok so I created two logical partitions /dev/hda7 (2GB) and /dev/hda8 (5GB). Now I am doing the partitioning with PMagic7 so I just set it up where its two unallocated partitions. Just to save some extra steps when installing slackware. Should I have it format the 2GB as linux swap and the 5GB as ext2 or would you recommend having linux do the formatting?
I would recommend formatting in linux, because last time i used pmagic it didn't correctly format my ext2. Slackware didn't recognize it as ext2 so i had to format again (this time using Linux). But you can try, it won't be worse, but it can be better.
Ok so I created two logical partitions /dev/hda7 (2GB) and /dev/hda8 (5GB). Now I am doing the partitioning with PMagic7 so I just set it up where its two unallocated partitions. Just to save some extra steps when installing slackware. Should I have it format the 2GB as linux swap and the 5GB as ext2 or would you recommend having linux do the formatting?
Thanks for the Help,
Kyle
Hi,
I agree that you should either format the partitions on your own or use the Slackware install cd instead of PMagic7. I prefer to create from the cli.
Well I did part of the partitioning in linux, I have yet to format it them. I am going with 1GB swap because I already have 1GB of DDR Ram. and the rest around 7.5GB as the / linux dir.
The only thing that ext3 adds is the journaling ability correct? So I wont have to wait for it to scan everything when/if ever slackware crashes?
Quote:
Originally Posted by onebuck
Thanks for the reference link to 'Slackware LQ Suggestions Links' in your sig.
No problem the links are helping me out so I want to make it so they can help others too.
/dev/hda5 (40GB) -NTFS for Audio Files
/dev/hda6 (40GB) -NTFS for Data Files
you might even prefer fat32 for these paritions so linux will have write capability to these. or at least create some 'shared'=vfat partiton to facilitate moving data between linux and winblows.
Quote:
The only thing that ext3 adds is the journaling ability correct? So I wont have to wait for it to scan everything when/if ever slackware crashes?
I think you _really_ want a journaled filesystem. The metadata it creates protects you from file/disk corruption in the unlikely event of your box getting shutdown incorrectly (power loss, power button<when improperly configured, etc) and the checks really don't take too long. IMHO
also on the swap, I've heard that its nice to have swap as big as RAM (or more) if you plan to use hibernate. but I'm not 100% on that... (I am setting up software suspend right now)
if I may interject-
you might even prefer fat32 for these paritions so linux will have write capability to these. or at least create some 'shared'=vfat partiton to facilitate moving data between linux and winblows.
I've no problem with NTFS partition. I use ntfs-3g, it has read and write capability on ntfs, and everything OK .
By the way fat32 has some limitations, it couldn't handle partition more than 40 Gb (or 30 Gb, i'm not sure), and you couldn't save a file that've more than 4Gb of size (ex: DVD ISO).
oh... i forgot to mention that i use ntfs-3g on ubuntu.
Well I started the install of slackware and the swap partition was formated just fine. Now I went on to format the 7.2GB as / and I selected to have it check for bad sectors. Now its been on the same screen for over 2 hours now. How long should it take to format a 7.2GB partition for ext3 while checking?
My understanding of what slackware is doing with the formating is as if I just ran the command. mke2fs -c -j /dev/hda8 but I am sure its locked up with the install. Any thoughts on why formating it would take so long?
Take some time to choose your filesystem. Read up a little on them. They all have pros and cons. I have used reiserfs for many years and have had no problems, even when my system dies (I have a laptop. Software suspend works great now, but before it didn't, so my system would "die" regularly.) And it doesn't ever do that annoying full check that extx used to do occasionally.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.