Results 1 to 2 of 2

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

Hybrid View

  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/[email protected]

    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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99



Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb picture

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb

$58.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99



Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4 picture

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4

$79.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard picture

GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard

$65.00



HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002 picture

HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002

$39.99