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!
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.
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.
Making a /boot partition has nothing to do with how you set up boot loaders (eg LILO).
Note: You cannot make a partition on /dev/sda1---it already IS a partition.
Assuming that you have a Windows install, and you then install Linux, you will be prompted for where to put the boot loader---eg GRUB or LILO. One typical place is the MBR of the first hard drive. This will replace the Windows MBR---which is easily restorable using your Windows install CD.
More details on your setup and we can be more help.....
I meant by placing the /boot in a small /hda1 will save me from what happen to WinZ (in hda/2) or my current Linux other partitions (hda/5 hda/6) that contains /bin et /opt ...
Then I will always get a safe boot as it is in an other partition than the rest of my files ?
If I'm not clear, I will try harder
You need more than just /boot to boot. You need things in /etc, /sbin, etc.
To do what I think you want I believe you'll need a seperate / (root). You can also have a /boot seperate from root if you desire, or you can include /boot under root. /boot needs to be there one way or another. If everything else is seperate (i.e., /usr, /var, /opt, /tmp, /home, etc.) then you will still be able to boot the system given just a root filesystem (including /boot). You'd be missing stuff of course. No xwindows GUI for one, but you'd still be able to boot to a command line. Of course if somehow you managed to trash /usr, it would still be trashed after booting into just a root filesystem. You'd have to repair or restore /usr in that case. But your system would still technically be bootable.
Is that what you're after?
p.s. - My Debian system currently has about 140Mb in / and 12Mb in /boot (if I were to strip /boot down to only the one kernel I really need). Most of my space is taken up in /usr.
Distribution: Debian Etch (w/ dual-boot XP for gaming)
I don't think it's possible not to have a separate root(/). Well... it might be if you had a partition for every directory directly under it, but I'm sure it'll cause problems with apps that assume they can create top-level directories as the super-user...
As far as I understand the original question, you want to separate out Linux and Windows as far as possible so that what you do in one won't affect the other, no matter how destructive it is. Having a separate /boot partition won't really do this; it has a few advantages (e.g. you can have the rest of your partitions in some bizarre filesystem, and just make /boot readable by GRUB/LILO; if another partition gets damaged somehow your boot partition is more likely to be intact leading to recovery) but I don't have a separate boot partition since they're quite marginal IMHO. If you were to "trash" Linux, you'd likely only be able to damage Windows partitions if you had them mounted and they weren't read-only. OTOH, with commands like dd, Linux gives you the power to write directly to a hard drive so if you managed to really mess up (incredibly unlikely if you're not trying) you can write garbage directly to the hard drive, even if its partitions aren't mounted, and wipe out Windows that way.
But back to the case in hand - whether /boot is its own partition or just a directory on the root partition makes very little difference as far as Windows is concerned. The only difference I can think of is where you site the bootloader - but IIRC you get the option to put it on /dev/hda1 even if you don't have a separate partition. It really isn't a big deal, partition it this way if you like, or let it be part of the root partition, it won't make any difference to Linux-Windows integrity.