Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Computer fails to boot
- Date: Tue, 30 Dec 2008 23:43:37 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Computer fails to boot
- References: <87prj9sv8c.fsf@xemacs.org> <apEzI6EX.1230644027.9391520.dbernat@gol.com>
David Bernat writes: > "Stephen J. Turnbull" <stephen@example.com> wrote: > > > sudo mount -o remount,rw /dev/sda1 > > > >instead: > > ubuntu@example.com:~$ sudo mount -o remount,rw /dev/sda1 > mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab Aha, enlightenment crashes through. Of course you can't, / is a CD (plus a little magic that makes it a little bit writable :-รพ ). That's also why you can't change the permissions of /bin/sh, most likely. But you don't want to, you want to fix the one on the hard drive. Try this: $ sudo mkdir /tmp/mnt $ sudo mount -t ext3 /dev/sda1 /tmp/mnt # for comparison's sake $ ls -l /tmp/mnt/bin/*sh $ sudo chmod 0755 /tmp/mnt/bin/sh $ ls -l /tmp/mnt/bin/*sh # Eyeball the ls output. Pretty much all of these should have # permissions "-rwxr-xr-x" except for "sh" itself which should be a # symlink with permissions "lrwxrwxrwx". Especially whatever "sh" # points to should be "-r-xr-xr-x" or "-rwxr-xr-x". The size of "sh" # (or its target, if a symlink) is likely to be around 80KB (for dash) # or 1MB (for bash/zsh), if not, worry about disk corruption. # If success, eject CD and ... $ shutdown -r now
- Follow-Ups:
- Re: [tlug] Computer fails to boot
- From: David Bernat
- References:
- Re: [tlug] Computer fails to boot
- From: Stephen J. Turnbull
- Re: [tlug] Computer fails to boot
- From: David Bernat
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Computer fails to boot
- Next by Date: Re: [tlug] Computer fails to boot: overlapping mount points
- Previous by thread: Re: [tlug] Computer fails to boot
- Next by thread: Re: [tlug] Computer fails to boot
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links