-
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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99

Ibm Computer Tower
$400.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$200.00

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$281.25

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

Compaq ProLiant 1500R 5/100 rack server, Series 3155, with IBM 2.1GB HD, VINTAGE
$295.00

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

Lot of 2 IBM blade center Type H chassis 8852
$559.00