Re: Has anyone made a PCG-FXA36 optimized 2.4.21 kernel; moving partitions around

Jack Coates <[email protected]> 03 Aug 2003 08:22:59 -0700
Newsgroups gmane.linux.hardware.sony
Organization Monkeynoodle.Org
Message-ID <[email protected]>
On Sat, 2003-08-02 at 21:50, Dan Whitacre wrote:
> Has anyone got an optimal 2.4.21 version kernel (or a
> config file to make one) for the PCG-FXA36?  I have
> everything working (haven't tried FiWi but bet it's
> good!), but would like to optimize/streamline/tweak it
> till it bleeds.  I'm running Mandrake 9.1, using KDE,
> and have usb, sound, multimedia, dvd, cd
> burning/ripping/rewriting, dsl internet via 100baseT
> ethernet port.  Haven't used PCMCIA yet, haven't used
> firewire yet, DO have Logitec usb optical wheel mouse
> working fine, w/ wheel/middle button functionality. 
> (If anyone needs any info, lemme know what/where and
> I'll send it.)
> 

Mandrake's kernel is fine for Sony laptops once you turn on acpi in
/etc/lilo.conf. Only issue I have with it is swsusp.
...
> Next, I've got my /home on a separate (too small)
> partition, and was wondering what would be the best
> way to migrate it to the partition housing my / . 
> I've lots of room there, and not much on the partition
> with /home.  Here's my fstab:
> 
> /dev/hda5 / ext3 noatime 1 1
> /dev/hda6 /boot ext2 noatime 1 2
> none /dev/pts devpts mode=0620 0 0
> /dev/hda7 /home ext2 noatime 1 2
> /dev/scsi/host0/bus0/target0/lun0/cd /mnt/cdrecorder
> auto ro,noauto,user,exec 0 0
> none /mnt/cdrom supermount
> dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0
> 0 0
> none /mnt/floppy supermount
> dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0
> 0 0
> /dev/hda1 /mnt/win_c vfat
> iocharset=iso8859-1,codepage=850,umask=0 0 0
> none /proc proc defaults 0 0
> /dev/hda8 swap swap defaults 0 0
> 
> =-=-=-=-
> and my df
> [dan@vaio dan]$ df
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda5              10G  5.3G  4.3G  55% /
> /dev/hda6              84M  2.4M   77M   3% /boot
> /dev/hda7              61M   25M   37M  41% /home
> /dev/hda1             7.8G  5.5G  2.4G  70% /mnt/win_c
> 
> =-=-=-=-
> Don't ask... ;)
> Will ext3 and ext2 present a problem?

ext3 and ext2 are backwards compatible -- you can mount an ext3
partition as ext2 and have no problems.

Given this setup, I would seriously consider starting over and
reinstalling :-( Next time try something more like this:
/ = 1G
/usr = 7G
/home = whatever's left.

You can get away with a smaller /usr if you're not messing around with
lots of different software, but it sounds like you're looking to play
with stuff :-)

Another option, if your windows partition is fat32 instead of ntfs you
can always use it for space. Just edit /etc/fstab and change the mount
point to something like /home/dan/windows.

> 
> And lastly (for now) would it be wise/good/fun to
> migrate my relatively unchanging system directories to
> a cd-r, and use it as a boot/live type thing?  Not
> that I'm hurting for space yet, but I think it would
> be a cool exercise.  It would probably make cd
> writing/ripping harder/impossible, but I was just
> wondering.
> 

A lot faster to just burn a Knoppix disk :-)

> And, very last, is there an optimal way to make a
> boot/rescue cd-r vice floppy?  I have the floppy
> drive, but am trying to avoid _ever_ buying a floppy
> disk again, and I'd like to use the MandrakeConfig
> utility to make my media.
> 

Lots of cool stuff out there. You can look at premade stuff like
MondoRescue, tomsrtbt, trinity rescue kit (my favorite as it includes
Win2K SAM hacking tools), or you can roll your own. Just make a
floppy-sized bootable image and write it to the CD using El Torito, then
fill the rest of the CD with the goodies you want. The good folks at 
http://leaf.sourceforge.net are always messing with this sort of thing
and can give pointers, and I've also got some cd-creation notes on my
Vaio page at http://www.monkeynoodle.org/comp/vx88.


-- 
Jack Coates
Monkeynoodle: A Scientific Venture...
It was never broken, and it's been fixed.