Kent Schumacher wrote:
> 
> Karl Bongers wrote:
> 
>> On Mon, Nov 17, 2003 at 11:53:22AM -0600, Kent Schumacher wrote:
>>
>>> I get this error:
>>> mount: block device /dev/sda6 is write-protected, mounting read only.
>>> mount: cannot mount block device /dev/sda6 read-only.
>>> This is stirring a memory, but things aren't gelling - anybody have any
>>> specific help?
>>
>>
>>
>> Are you just doing:
>> mount /boot
>> You can't rely on /etc/fstab, so you need to specify the partition:
>> mkdir /tmp/myboot
>> mount /dev/XXX /tmp/myboot
>>
>> Knoppix probably automounted it and doing smart things?
>> Try:
>> df
>> to see what mounts are present.
>>
>>
> 
> OK, this was easy to solve once I started looking at the permissions:
> 
> ardvar: ls -l /boot /tmp
> lrwxrwxrwx    1 root     root           25 Oct 17 09:39 /boot -> 
> /KNOPPIX/boot
> lrwxrwxrwx    1 root     root           25 Oct 17 09:39 /tmp  -> /var/tmp
> 
> Thanks for the help.  Knoppix really is amazing...
> 
> 
Whoops, I spoke too soon.  Mounting /dev/sda6 on a newly created directory
still gets the error...

The solution is to add the -o dev option to mount when mounting the hard
drive root partition

mount -o dev /mnt/sda7
chroot /mnt/sda7
mount /boot
mount /tmp
lilo

life is beautiful




_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list