Re: best use of 4Gb SSD in dual-boot machine?



On Mon, 10 Jan 2011 08:49:48 -0800 (PST), jkn <jkn_gg@xxxxxxxxxxxxxxx>
wrote:

Thanks for all of that - very useful. I will probably go this route,
and maybe think about migrating to LVM at some point, which would
probably make some of this a bit eaiser/neater.

Mmmmaybe. LVM is rather more complex than simple partitioning, but a
necessary complexity if you're working with raid or other complex
schemes. I don't think it would help with this much.

I haven't recently checked where during the initialisation process /
etc/fstab will be read and the disks mounted/links made - presumably
early enough that if I follow your suggestion above, /var -> /mount/
spinningdisk/usr et. al. will be present when required?

As long as /boot /etc /sbin (maybe /bin too) are all on the ssd, you
should be good - the rest shouldn't be needed until after the other
stuff is mounted.

I can't remember how logging in /var is handled when /var isn't on the
boot partition, so you should probably investigate that first!

(if you didn't know, mounting a partition onto an already full
directory doesn't damage the content of that directory any more - but
it does hide it until you unmount. So the boot process might write
logs into /var on the SSD, and when you map a real /var partition on
top your boot logs will suddenly vanish or maybe top-truncated,
missing the early entries)

The fun thing about doing it the links way is that you don't need to
mess with the content of the spinning disk at all to do it. Set up the
SSD by copying the right stuff to it, make the changes in the
ssd:/etc/fstab, then set GRUB up on it. When all is ready, set the
BIOS to boot from it and give it a go.

If it doesn't work right, just point the BIOS back at the spinning
disk for booting, you're back in your usual environment and can carry
on trying.

Cheers - Jaimie
--
I was most impressed when I looked up into the London sky and saw
a star through all the light pollution. A few of us checked some
astronomy references to try and identify it, and we're reasonably
confident that it was Sol. -- Peter Corlett, asr
.



Relevant Pages

  • RE: lvm on RH8 _ SOLVED_
    ... Apparently, the lvm module wasn't getting initialised at boot, so I ... Using fdisk, change the partition usage to 0x8e (free space, logical ... Next the filesystem needs to be created in the logical volumes. ...
    (RedHat)
  • Re: lvm boot from second volume group
    ... I added another volume group, vg1, to my lvm setup, and placed an fc4 tree on it, and added an entry to grub.conf. ... when I try to boot into that image it fails. ... grub doesn't understand LVM at all AFAIK, it just boots the kernel/initrd from a regular partition and passes parameters to that kernel to tell it where to find the root filesystem. ... My original install uses lvm and was installed to /dev/vg0/fc4. ...
    (Fedora)
  • Re: floppy boot: cannot operate hard disk or floppy
    ... I'd guess you can't expect these files to be able to boot this hard disk of the older FDISK hard drive partioning. ... There was a major issue involving even the conversion of even Warp 4 operating system hard disk operations from the FDISK type partitioning to the new Logical Volume Mount (LVM) type hard disk partitioning even on upgrade from Warp 4 to Merlin Convenience Pack level code. ... is your boot partition for OS/2 2.0 even an HPFS type partition? ...
    (comp.os.os2.misc)
  • Re: grub.conf emptied, and now i get kernel panic?
    ... > i still have access to the lvm through fc4. ... > hda5 it said cant mount partition. ... So, you've got to fix up FC3, as well as manage to get it to boot. ... Since it's the only LVM on the drive, ...
    (Fedora)
  • Re: BootIt NG high level steps - best approach??
    ... backup boot strategy. ... As far as BING, I should tell you I've been using this software ... make managing your bootable options and partition management so much easier. ... drives) and the DATA partition on a mirrored array. ...
    (comp.sys.ibm.pc.hardware.storage)