Find the answer to your Linux question:
Results 1 to 4 of 4
I installed DSL on an old laptop i was given. I need to modify grub's menu.lst but the file system is read-only. I tried the 'sudo mount -o remount,rw /dev/hda1' ...
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    5

    read only drive

    I installed DSL on an old laptop i was given. I need to modify grub's menu.lst but the file system is read-only. I tried the 'sudo mount -o remount,rw /dev/hda1' and it gives me an error saying '/mnt/hda1 is not mounted already, or bad option'. If I type just mount it says '/dev/hda1 on /cdrom type ext2 (rw)'.

    How can I get write access?

    thanks

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Posts
    5
    figured it out, i had to remount at /cdrom instead of /dev/hda1

  3. #3
    Linux Newbie Tutku's Avatar
    Join Date
    Jul 2007
    Location
    Izmir / Turkey
    Posts
    167
    file system is read-only for normal users, just try to edit /boot/grub/menu.lst file with root authority.

  4. #4
    Just Joined!
    Join Date
    Aug 2007
    Posts
    5
    Thanks for the reply.

    In this case the drive was mounted read-only for superusers too. I had installed DSL's frugal install which sets everything up as if it is booting off the cd. That is why hda1 was mounted at /cdrom.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...