mount read write


Forum: HD Install
Topic: mount read write
started by: bmenge

Posted by bmenge on May 01 2007,19:13
I have a frugal install on hda1 with hda2 as backup restore hda3 for data

I need to remount my hda1 with to edit the grub menu I used code
[/opt]# sudo mount /dev/hda1
mount: /dev/hda1 already mounted or /mnt/hda1 busy
mount: according to mtab, /dev/hda1 is already mountd on /mnt/hda1
[/opt]# sudo mount /dev/hda1 -o remount,rw


I think every thing is well and open grub/menu.lst with nano make the change and try to save and get the error can not save read only file system

then use mount command

[/boot/grub]# mount
/dev/root on / type ext2 (rw)
/dev/hda1 on /cdrom type ext2 (rw)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=46668k,size=209331k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
unionfs on /bin type unionfs (rw,dirs=/ramdisk/bin=rw:/bin=ro)
unionfs on /dev type unionfs (rw,dirs=/ramdisk/dev=rw:/dev=ro)
unionfs on /etc type unionfs (rw,dirs=/ramdisk/etc=rw:/etc=rw)
unionfs on /lib type unionfs (rw,dirs=/ramdisk/lib=rw:/lib=ro)
unionfs on /sbin type unionfs (rw,dirs=/ramdisk/sbin=rw:/sbin=ro)
unionfs on /usr type unionfs (rw,dirs=/ramdisk/usr=rw:/usr=ro)
unionfs on /var type unionfs (rw,dirs=/ramdisk/var=rw)
/dev/hda1 on /mnt/hda1 type ext2 (rw,nosuid,nodev)
/dev/fd0 on /mnt/floppy type vfat (rw)


to me it looks like hda1 is read write what am I doing wrong

Posted by ^thehatsrule^ on May 01 2007,19:22
I think after the inclusion of something.. (was it mount or unionfs or something other?), mounting a partition twice as rw wouldn't work for me.

Since it's already mounted anyways (it seems you are using the frugal bootcode) please edit /cdrom/boot/grub/menu.lst (which was answered many times)

Posted by bmenge on May 01 2007,23:30
yes I know the issue about removing frugal from boot line has been answred time and time again.  take a look at what I have here

This sets the default entry to boot.
# Remember that GRUB counts from 0, so 1 is the second entry.

default 0

# This sets the length of time in seconds that grub will wait for the user to s$
# before it boots the default on. I recommend at least 15 seconds.

timeout 0
hiddenmenu

# Enter the entry for DSL here. Something like this.

title DSL fb800x600
kernel /boot/linux24 root=/dev/hda1 pictures=/mnt/hda3/Pictures scripts=/home/d$
initrd /boot/minirt24.gz

as I said in my original post I can't change things in my boot menu I get the error message mounted read only.  I can change the boot menu on /cdrom/boot/grub/menu.lst   but this does me know good because anything that I add doesn't change the boot for example I could change the default time to zero and still get the same 3 seconds that was there before.  I then looked and found that there is another boot file that is just /boot/grub/menu.lst  this is the on the computer is booting off of and I can not change, that too has frugal removed from the boot command menu.

Posted by ^thehatsrule^ on May 02 2007,05:37
Quote
/dev/hda1 on /cdrom type ext2 (rw)
Looks like it's rw though...

The one in /cdrom is on your hard drive, whereas the one in /boot is one of the templates in /KNOPPIX/KNOPPIX - they are unrelated.

You've just got to try it...?

One problem that I can guess: if you're actually _not_ booting off hda1 and stage2 grub is on another partition you need to edit that one instead.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.