-
[Help] Write on poor man's install?
Hi, I have a poor man's install (compressed on HDD, just like the livecd) with grub bootloader instead of isolinux.
Is there a way to modify and permanently save the grub.lst while I'm running my knoppix system?
The location seen from another system where I hooked My HDD is /media/hdd1/boot/grub/grub.lst. When I'm running from my knoppix HDD, It will be /cdrom/boot/grub/grub.lst but because the system is read-only, I can't save on it. How could I make r/w temporarly that location?
Any help much apreciated.
V.
-
Senior Member
registered user
Do you mean "menu.lst"? What do you want to achieve? Edit grub boot menu and/or add cheat codes to default kernel options?
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
ockham23
Do you mean "menu.lst"?
Yes that's it, my bad...
![Quote](images/misc/quote_icon.png)
Originally Posted by
ockham23
What do you want to achieve? Edit grub boot menu and/or add cheat codes to default kernel options?
Something like that, but a more general goal is to be able to save files in that area. Let say, beside boot directory to create my own directory where to be able to permanently save files.
I don't know if I can/how remount that portion of "CD" as read/write.
-
Senior Member
registered user
You can customize Knoppix by creating a persistent home directory on your hard drive and even modify the cd image file with unionfs by storing your modifications in a special unionrw directory on your hard drive.
Editing menu.lst, however, isn't that simple if grub itself and menu list are located inside the image file. You would have to copy the files from the cd to a temporary directory, edit menu.lst according to your needs, and create a new iso file from the copied files with mkisofs.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
ockham23
You can customize Knoppix by creating a persistent home directory on your hard drive ... [snip]
Can be instead of persistent home directory just another generic directory? I could use some links to point in that direction and use it to store whatever I need... Would it be writeable out of UNIONFS?
Thanks, V.
-
Senior Member
registered user
I just reread your initial post. Apparently, menu.lst is located in a folder that is not part of the image file. So you should be able to edit to contents of the file if you boot off the Knoppix cd instead off the image file.
And, yes, you can store your data in any directory on your computer's hard drive or on any removable drive unless the file system of the drive is NTFS. File systems with write support are - among others - FAT32, FAT16, ext2, ext3 and reiserfs. Before you can write to the drive you have to tell Knoppix to mount the drive. In this regard, a persistent home directory is more convenient because it is mounted automatically when Knoppix starts.
Unionfs is not required if you only want to store user data to permanent folder on a hard drive or a removable drive. However, you cannot add new programs to Knoppix without using unionfs.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
ockham23
I just reread your initial post. Apparently, menu.lst is located in a folder that is not part of the image file. So you should be able to edit to contents of the file if you boot off the Knoppix cd instead off the image file.
And, yes, you can store your data in any directory on your computer's hard drive or on any removable drive unless the file system of the drive is NTFS. File systems with write support are - among others - FAT32, FAT16, ext2, ext3 and reiserfs. Before you can write to the drive you have to tell Knoppix to mount the drive. In this regard, a persistent home directory is more convenient because it is mounted automatically when Knoppix starts.
Unionfs is not required if you only want to store user data to permanent folder on a hard drive or a removable drive. However, you cannot add new programs to Knoppix without using unionfs.
Thanks for the answers, I think I need to re-state what I'd like to accomplish:
- without any external help (knoppix CD, or other linux), just within my knoppix-like HDD install...
- without any other partition/disk intended for storage...
... just the same way I have the "boot" directory, I whish to have another writeable directory used just for read-write-save files. The purpose is to use this install on a compact flash, without abusing the write cycles which would compromise the CF. I won't mind to make/run a script to "remount -rw" or "remount -ro" this directory.
Having for this purpose another partition seems logic and trivial. But I wonder if I just could use the same partition for this, even the way of doing it is not trivial. In the end, I could protect under the "ro umbrela" also my "special directory"
-
Senior Member
registered user
Having for this purpose another partition seems logic and trivial.
Well, there's your answer.
-
Senior Member
registered user
If I understand correctly, you want to mount r/w the partition where your iso image is.
When you boot from a iso image on disk (as in your poor man's install), the partition where the iso is will be mounted as a cdrom loop device in read-only mode. For example, if the iso file was on hdd1, then mount will read "hdd1 on cdrom2.loop type ext3 (ro)".
To make hdd1 writable, issue the following mount command:
mount /dev/hdd1 /cdrom2.loop -o remount
Regards.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Jacky
To make hdd1 writable, issue the following mount command:
mount /dev/hdd1 /cdrom2.loop -o remount
Works like a charm!
Thanks to all for their suggestions.
Have a great day, V.
Similar Threads
-
By anksingh in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 08-01-2006, 04:56 AM
-
By xfiles in forum Knoppix DVD
Replies: 1
Last Post: 09-02-2005, 06:20 AM
-
By Nick889 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-17-2005, 05:00 AM
-
By probono in forum The Lounge
Replies: 11
Last Post: 09-27-2004, 03:34 PM
-
By Obsidian in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-28-2003, 06:34 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
![New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C picture](/store/img/g/tqEAAOSwkbxmR-l8/s-l225/New-Precision-DWDM-SFP-10G-80km-Tunable-Transceive.jpg)
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
![LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture](/store/img/g/JEEAAOSwzu9ibCFX/s-l225/LOT-OF-20-Genuine-Cisco-SFP-10G-SR-V03-10GBASE-SR-.jpg)
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
![For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T picture](/store/img/g/H0kAAOSwYRJhQsEA/s-l225/For-Cisco-SFP-10G-T-Ubiquiti-UF-RJ45-10G-Transceiv.jpg)
For Cisco SFP-10G-T, Ubiquiti UF-RJ45-10G Transceiver, SFP+ to RJ45 10GBase-T
$49.99
![New Cisco SFP-10G-LRM 10G SFP+ LRM 1310nm 220m SMF/MMF LC Module picture](/store/img/g/Y-EAAOSw2pVl1CqO/s-l225/New-Cisco-SFP-10G-LRM-10G-SFP-LRM-1310nm-220m-SMF-.jpg)
New Cisco SFP-10G-LRM 10G SFP+ LRM 1310nm 220m SMF/MMF LC Module
$34.99
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/g/tAkAAOSwdENkHItI/s-l225/GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![SFP-H10GB-CU3M Cisco 10GB SFP+ Twinax Copper 3M Passive Cable picture](/store/img/g/FssAAOSwsJxl2ME5/s-l225/SFP-H10GB-CU3M-Cisco-10GB-SFP-Twinax-Copper-3M-Pas.jpg)
SFP-H10GB-CU3M Cisco 10GB SFP+ Twinax Copper 3M Passive Cable
$7.99
![Genuine Cisco ‎SFP-10G-SR Transceiver Module (10-2415-03) picture](/store/img/g/EGsAAOSwOLplBoX9/s-l225/Genuine-Cisco-SFP-10G-SR-Transceiver-Module-10-241.jpg)
Genuine Cisco ‎SFP-10G-SR Transceiver Module (10-2415-03)
$5.85
![Fully Compatibility 10GBase-T Transceiver SFP-10G-T SFP+ to RJ45 Copper 30M 80M picture](/store/img/g/X6IAAOSwypBl4Uhu/s-l225/Fully-Compatibility-10GBase-T-Transceiver-SFP-10G-.jpg)
Fully Compatibility 10GBase-T Transceiver SFP-10G-T SFP+ to RJ45 Copper 30M 80M
$40.50
![Cisco C9300-NM-8X Catalyst 9300 Series 8x 10GB SFP+ Port Switch Module picture](/store/img/g/kvMAAOSwhcxmdan2/s-l225/Cisco-C9300-NM-8X-Catalyst-9300-Series-8x-10GB-SFP.jpg)
Cisco C9300-NM-8X Catalyst 9300 Series 8x 10GB SFP+ Port Switch Module
$359.00