Results 1 to 2 of 2

Thread: How to get enable read/write access (Hd Based)

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Location
    Japan
    Posts
    3

    How to get enable read/write access (Hd Based)

    Hi.

    Reading 'Hd Based How To', I noticed being written as "Two things we still need to solve:". The first, "read/write access to the partition we are booting knoppix from", can be solved as follows.

    1. expand miniroot.gz and mount it

    $ gunzip miniroot.gz
    $ su
    # mount miniroot -o loop work/

    2. edit work/etc/mtab

    [before]
    /dev/root / ext2 rw 0 0
    /dev/cdrom /cdrom iso9660 ro 0 0
    /dev/cloop /KNOPPIX iso9660 ro 0 0

    [after]
    /dev/root / ext2 rw 0 0
    /dev/cloop /KNOPPIX iso9660 ro 0 0

    3. edit work/linuxrc

    --- linuxrc 2003-06-23 01:59:34.000000000 +0900
    +++ linuxrc.new 2003-06-23 01:54:57.000000000 +0900
    @@ -220,6 +220,11 @@
    then
    echo -n "${CRE} ${GREEN}Accessing KNOPPIX CDROM at ${MAGENTA}$i${GREEN}...${NORMAL}"
    FOUND_KNOPPIX="$i"
    +if [ "$fs" != iso9660 ]; then
    +umount /cdrom
    +mount "$FOUND_KNOPPIX" -t "$fs" -o rw /cdrom
    +echo "$FOUND_KNOPPIX /cdrom $fs rw 0 0" >> /etc/mtab
    +else
    +echo "$FOUND_KNOPPIX /cdrom $fs ro 0 0" >> /etc/mtab
    +fi
    break
    fi
    umount /cdrom

    4. umount miniroot and compress

    # umount work/
    # gzip -9 miniroot

    5. replace miniroot.gz and boot /KNOPPIX/KNOPPIX

    Now we could do "read/write access to the partition(FAT or EXT2) we are booting knoppix from".

  2. #2
    Junior Member
    Join Date
    Dec 2002
    Location
    Japan
    Posts
    3
    This tips was posted to Japanese KNOPPIX mailing list in June.
    http://www.freeml.com/ctrl/html/Mess...pix@freeml.com

    Original idea is available on http://www.h2.dion.ne.jp/~miyawaki/knoppix/.

Similar Threads

  1. HOW-TO: get read/write access to HD?
    By kevingpo in forum General Support
    Replies: 4
    Last Post: 11-08-2005, 10:48 PM
  2. Change OS read only file to read/write after "poor man'
    By Needtoknow in forum Hdd Install / Debian / Apt
    Replies: 10
    Last Post: 10-22-2004, 02:27 AM
  3. NTFS: Read-Write Safely with INSERT (Knoppix-based)
    By David Ormsby-Gore in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 07-08-2004, 10:10 AM
  4. Read/Write Access to Windows NTFS parition?
    By blt975 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-13-2004, 10:39 PM
  5. need read AND write access to some files in /var/lib
    By redrat in forum Customising & Remastering
    Replies: 3
    Last Post: 03-12-2003, 03:19 AM

Posting Permissions

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