Posts tagged ‘note to self’

Airplane Baby Changing Facilities Continued

Well, I spoke too soon; the 737 is not so bad when it comes to changing tables. We were on a 757 today and found that it had no baby changing tables on board.

737 Versus A320 Baby Changing Facilities

This is not of general interest, but for anyone who wonders, A320 lavatories have better baby changing tables than 737 lavatories. If your baby is under five or six months, it probably does not matter, but the 737 table is really short. This somewhat redeems the A320 for me.

Grub Reinstall (on Gentoo)

Last night, I reinstalled Windows XP. It had not been working for a little more than a month, and I tried a few repair approaches that did not work out. There was no urgency to do this, which is why I waited so long. Ultimately, I reinstalled Windows (but I “punished” it first by giving it a much smaller partition; I have better things I can do with that space). Of course, this means the MBR was wiped out and I needed to reinstall Grub in order to get easy access to Linux again.

This post is more of a note to myself to save time next time (not that it took that much time, but perhaps every bit counts). It assembles information from several sections of the installation portion of the Gentoo Handbook.

Here we go (the devices are specific to my current setup):

  1. I booted using the Gentoo minimal install disk.
  2. Mount partitions and change root (Sections 4 and 6).
  3. # mount /dev/sda5 /mnt/gentoo
    # mount /dev/sda2 /mnt/gentoo/boot
    # mount -t proc none /mnt/gentoo/proc
    # chroot /mnt/gentoo /bin/bash
    
  4. Make mtab and reinstall Grub (Section 10).
  5. # grep -v rootfs /proc/mounts > /etc/mtab
    # grub --no-floppy
    grub> root (hd0,1)
    grub> setup (hd0)
    grub> quit

The parameter (hd0,1) corresponds to the /boot partition (/dev/sda2). If it is not clear how to specify the partition for /boot, that information is available in Grub with

grub> find /boot/grub/stage1