Allan Gottlieb writes: > I am unable to umount /usr in single user mode on an old system. > I believe the system is baselayout-1 and is amd64. > The trouble is open files, at least some of which appear to be related > to bash and locale (see the files below). > > I use grub. On the kernel line can I specify sh instead of bash? > I know sh is linked to bash, but hope that it will not use locale.
Why not use a live-cd? > I need to umount /usr so that I can resize it (I use lvm and have > already extended the logical volume). Specifically i want to execute > umount /usr > resize2fs /dev/vg/usr > mount /usr As long as you extend the size, resizing works online, without the need to unmount a partition. That's only necessary when reducing the size. Hooray! > (I realize I will probably need an e2fsck). True if the partition is unmounted. Wonko