mount weirdness
- From: Tony Houghton <h@xxxxxxxxxxx>
- Date: Mon, 26 Mar 2007 00:29:24 +0000 (UTC)
Does mount ignore the entry for / in /etc/fstab, leaving whatever the
kernel was booted with as /, but when you run `mount' tell you what's in
fstab rather than what's really mounted?
I just had a bit of an adventure after upgrading the kernel on my HTPC,
which runs Debian unstable. It used to have / on /dev/hda5 but I moved
it to /dev/hda1 at some point. However, I must have forgotten to update
fstab because it was saying hda5 was root. Everything appeared OK,
`mount' was telling me hda5 was root, it had survived a number of
reboots, but then I got a mysterious error from grub. Playing with
System Rescue CD showed hda1 had the expected contents of / while hda5
was empty!
So I mounted hda1, amended its /boot/grub/menu.lst and /etc/fstab and
reran grub-install, which successfully made the system bootable again.
But when I checked /etc/fstab it said / was hda5 again! When I corrected
it and rebooted again, this time it stayed corrected as hda1.
--
TH * http://www.realh.co.uk
.
- Follow-Ups:
- Re: mount weirdness
- From: Tim
- Re: mount weirdness
- From: Gordon Henderson
- Re: mount weirdness
- Prev by Date: Re: SuSE 10.0 nVidia drivers - dependencies problem
- Next by Date: Re: mount weirdness
- Previous by thread: Setup backup
- Next by thread: Re: mount weirdness
- Index(es):
Relevant Pages
|
|