LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-28-2005, 04:50 PM   #1
LlamaNerds
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Modifying LiveUSB file system


I am trying to get MCNLive working on my USB thumb drive, and I got it installed fine. What I want to know is:

It automatically sets the file system to mount in Read Only, which means that there is no point having it on a thumbdrive as opposed to a cd, because I can't save any changes I make to the file system anyway. Is there a way to (somewhat easily, as I am something of a noob) modify the fstab on the Live filesystem so that it mounts with RW permissions? I can 'modify' fstab from within the LiveUSB boot, but it doesn't actually change fstab once I reboot.
 
Old 10-28-2005, 05:47 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,801

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
It appears you can save documents and settings by creating another partition on the drive.
See the last paragraph:
http://home.tiscali.nl/berenstraat/usblive.htm
 
Old 11-01-2005, 11:02 AM   #3
LlamaNerds
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Red face

hmm... I'll double check that.

RTFM, and all that

Last edited by LlamaNerds; 11-01-2005 at 11:05 AM.
 
Old 11-01-2005, 05:51 PM   #4
LlamaNerds
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Okay, that allows me to create a storage partition where I suppose I could put scripts that I wanted to run, but it still doesn't let me change any settings. I can create partitions and name them /home, /users, etc., but as soon as I reboot, it loses the mount points on them, because, again, I don't actually have any access to fstab. When it says 'saving changes to fstab' it's really just saving to RAM, so after reboot, I just have two generic mount points in my /mnt. Any other thoughts?

From what I understand, it is impossible to unmount / and remount it in rw mode. I think what I'm going to be looking for (although I don't know if it exists) is a utility or something that will let me modify the file-system externally.
 
Old 11-01-2005, 07:08 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,801

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
I downloaded and looked at the iso file it appears the liveCD runs from a compressed image. You might want to try viewing the USB stick from another PC running linux to see if it is the same thing. If so then the only way that I know of to make changes would be to remaster your own version.
 
Old 11-17-2005, 12:42 PM   #6
krisNL
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
On MCNLive you can remount your partition on the USB stick read-write with (in case you got only one partition)

mount -o remount,rw /dev/loop/0 /initrd/cdrom

Now you can save documents :-)

Bad news: no easy way to save and reload automatically your *settings and configs*.


--chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
modifying system calls manjiri Linux - Newbie 3 11-07-2005 01:02 PM
Modifying kernel to support old ext file system mrogersii Linux - Hardware 1 12-09-2004 07:10 PM
Modifying system-wide include path in Fedora Ross Clement Fedora 0 02-21-2004 03:14 AM
creating or modifying file system tanmaya Linux - General 1 12-24-2003 01:03 PM
Custom linux for my system... OR modifying existing distro MicroATX Linux - General 3 11-23-2003 03:10 PM


All times are GMT -5. The time now is 09:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration