-
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

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$298.00

pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$184.99

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$278.99

Fortinet FortiGate 80E 12 Ports Firewall Appliance
$20.25

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00

Netgate SG-2100 pfSense Plus 26.07 Firewall VPN Router - Wiped, Fresh Install
$174.99

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot
$95.99

Unfi Security Gateway Pro
$170.00