[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partitioning strategy



Yeah, this is the right idea. However, rather than make a small root partition
and then tons of others to mount in it instead just create a small partition
called "/boot". Actually, the setup debian gives you by default stores the
kernel, along with the other files lilo needs, in /boot. You'll note that in a
stock debian installation that /vmlinuz is a symlink to /boot/vmlinuz-2.0.29. A
'du -s /boot' shows the total file usage to be 760K. If you made it 1MB you
should be fine.

So... all you have to do to get this to work with a fresh install is to make a an
extra partition which falls within the first 1024 cylinders of about 1MB in size
and then after you mount the root partition you can choose the alternate option
to mount another partition and mount your little partition as /boot. Then the
installation will put the kernel and other LILO necessaries into your safe
partition and whiz bang boom your there. As a note of caution if you should build
a customer kernel with 'make zlilo', the Makefile will install the kernel as
/vmlinuz which is not what you want. You'd have to move it manually to /boot
then. Better yet, use the debian make-kpkg or whatever the kernel-making package
is called.

Robert Goodwin wrote:

> hi there,
>
> a while ago i asked about installing linux on a large drive in a system that
> does not support LBA.  somebody replied that such a thing would not be a
> problem but likely i would have to make the root partition containing the
> kernel smaller in order to accomodate lilo.
>
> what i'm wondering is how i would then go about putting the rest of the
> directory trees like /usr /var /etc all on the other large partition.  does
> /etc have to be on the small partition as well for fstab and the other start
> up files?  how can i mount multiple directory structures in one partition
> mounted off root.  obviously i'm a little confused.
>
> does someone think they could understand what i'm getting at and maybe
> clarify a little.  a sample fstab would probably help alot too.

--
Jens B. Jorgensen
jjorgens@bdsinc.com



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: