[ltp] How to parition my T23 drive.

Hugo Santiago Carrer linux-thinkpad@linux-thinkpad.org
Thu, 24 Mar 2005 20:05:51 +0100


On Thu, 24 Mar 2005 17:49:28 +0100, Bob Alexander <bob@ngi.it> wrote:
> Hugo Santiago Carrer wrote:
> > Hi there,
> >
> > I'm about to partition my T23 hard drive and was wondering what the
> > best scheme would be.
> > I want, a small XP partition (hda1 may be?) and ther rest is for
> > linux. But my main concern is about the hibernation partition, how
> > should I do it, what size and where exactly.
> >
> > Any ideas and/or advices are welcome.
> >
> > CU
> > Hugo
> 
> Hugo many recipes out there :) What followos is only MHO :)
> 
> T40 with Debian.
> 
> I would suggest something like:
> 
> around 100 MB on an ext3 filesystem on a partition (llok at my /dev/hda7)
> 
> All the rest on LVM2 (logical volumes). From my fstab entries you can
> see I have:
> 
> a 600 MB home (want that to fit on one CD)
> a 2.7 GB /usr (a bit large) for my ca. 700 packages
> a 1.5 GB /var (this might seem large but rem that debian places it's
> package cache here)
> 
> most are reiserfs.
> 
> I then have a /dev/hda1 for XP and a /dev/hda5 FAT32 to store data I
> want to be visible from both operating systems.
> 
> The swap on it's own phisical partition. Size equal to your RAM can be a
> good starting point. I would strongly advice on using the swsusp2
> patches for that. Fast, reliable. Would use GRUB on the MBR of your
> /dev/hda for both XP and Linux.
> 
> HTH,
> Bob
> 
> /dev/hda7               120411     88198     25789  78% /
> /dev/mapper/vg1-lvhome
>                          667945    618016     21421  97% /home
> /dev/mapper/vg1-lvusr
>                         2780960   2194048    445600  84% /usr
> /dev/mapper/vg1-lvvar
>                         1439290    561164    816686  41% /var
> /dev/hda5             35960416  26328400   9632016  74% /0windata
> /dev/hda1             30716248  15304608  15411640  50% /0winxp
> 

Thank you for your answer Bob, but of course now I have new questions :-).

Sadly I need to use a 2.4.18 kernel for work related reasons (luckily
Debian ;-)), do you know how good the 2.4.18 swsusp patch is? If it is
not that good, what are my choices in getting supend functionality on
the t23 (I'm mostly interested in suspend to disk actions).

CU
hugo