Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Part of my system configuration has 2 seperate IDE hard drives: one primary and one secondary. Currently I use the secondary drive as a backup destination drive for the primary ie, for Windows.
What I would like to do is the following:
1. Keep Windblows XP on the primary drive.
2. Partition the secondary drive for Linux use and also to continue using it as a backup device.
I am going to init. the secondary drive and then use "Partition Magic" to create the two partitions: 1 for backup 1 for Linux.
Now, as for as GRUB (or LILO) is concerned: which MBR should I use? The one on the primary or secondary? In other words, where should I install GRUB in this configuration?
Create at least two partitions for linux. One for the root filesystem and a small swap partition (depends on your RAM, I have 512MB swap and 512 MB RAM, swap gets hardly ever used). I would also recommend an extra partition for /home (makes it easier to update/change the OS. But this is totally up to you
I prefer grub, because you don't need to re-install it after kernel updates/changes in configuration.
You'll need to write grub into the MBR of the primary partition (or at least the first one in your boot order).
you want to stick your MBR on your primary drive, you can overwrite windows' bootloader and then point grub or lilo to boot windows and linux respectively.
Distribution: Red Hat, Slackware, Smoothwall, Fedora, Mandrake, *BSD
Posts: 20
Rep:
When you repartition, let me suggest that you NOT partition, format, or allocate the space you free up for linux.
Instead, let the linux installer do that for you. For example, in RedHat/Fedora's anaconda installer, there's a dialog early on which will prompt you to either remove all partitions, remove all linux partitions, or keep all partitions and use available free space. Select the last of those options.
If you're using linux's fdisk, set up your partitions (/boot, /, swap, etc.) on hdb2 (in your example).
As to HOW to partition that drive space, I tend to agree with abisko00 about having a separate partition for /home. Having a separate partition for /var is also sometimes a good idea.
Here's how I have most of my systems:
/boot (100MB)
swap (RAM x 1.5)
/
/home
/var
The size of the last three depends on system role and available space.
A full install of Fedora Core 3, (all packages) for instance, is 6+ GB, so figure 10GB for / (root).
/var size may need to be large is you have a large web site, and/or retain a lot
of logs (snort logs, for example).
At any rate, beyond boot, root, and swap, it's largely up to you.
Amd yes, the boot loader will go to the MBR of C: (or whatever the Windows boot drive is.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.