-
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".
-
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
-
By kevingpo in forum General Support
Replies: 4
Last Post: 11-08-2005, 10:48 PM
-
By Needtoknow in forum Hdd Install / Debian / Apt
Replies: 10
Last Post: 10-22-2004, 02:27 AM
-
By David Ormsby-Gore in forum MS Windows & New to Linux
Replies: 2
Last Post: 07-08-2004, 10:10 AM
-
By blt975 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-13-2004, 10:39 PM
-
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
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

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
$58.99

Gigabyte GA-B85M-D3H Motherboard
$54.99

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
$59.99

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
$71.49

GIGABYTE - A620M S2H AM5 DDR5 M-ATX Motherboard
$65.00

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