LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-12-2015, 07:14 AM   #1
CaptainMart
LQ Newbie
 
Registered: Feb 2015
Location: Cambridgshire, UK
Distribution: Gentoo
Posts: 13

Rep: Reputation: Disabled
Problem creating permanent mount points in SliTaz


I'm running SliTaz in base from from a USB flash drive and trying to build an image which will eventually be loaded to an internal flash drive. I need to create a permanent mount point for an external drive (SCSI), but whenever I create a new mount point, then create the new filesystem image (tazusb writefs gzip), the mount point has vanished. I initially created the mount point in /mnt/, but then discovered that the init process loads a new filesystem onto mnt; I then created a new folder /mount/ and put my mount point in there, but /mount/ disappeared after writing the filesystem and rebooting.
Where is the correct place to put a mounting point that will be preserved in a persistent image?
 
Old 09-12-2015, 01:30 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,367

Rep: Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154
What version of SliTaz are you running? I'm not an expert but can maybe provide some assistance.

Is anything you download / install persistent?
When you created the flash drive did you also create an ext3 partition?
 
Old 09-12-2015, 07:12 PM   #3
CaptainMart
LQ Newbie
 
Registered: Feb 2015
Location: Cambridgshire, UK
Distribution: Gentoo
Posts: 13

Original Poster
Rep: Reputation: Disabled
Running SliTaz 4.0, kernel 2.6.37.
Yes, packages installed are persistent, as are changes to files in /etc/. I discovered that the problems was that the tazusb utility doesn't scan / for folders to copy to the compressed filesystem. The problem was fixed by adding the mount point base folder to the list of directories that tazusb checks prior to building the compressed filesystem; tazusb is a script file, so the changes were easily made.
 
Old 09-12-2015, 07:12 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,049

Rep: Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624Reputation: 2624
Sounds like you are running a Live CD on the flash drive which is giving you expected behavior, lose everything on re-boot. What method did you use to get Slitaz on the flash drive. Doesn't seem like an actual install or an install with persistence.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SliTaz can't mount partition but Ubuntu can Curyous Linux - Newbie 2 09-08-2008 04:38 AM
creating mount points on the unused Hard disk after installation of RedHat Linux ES 4 vamsikatakam Linux - Enterprise 4 03-21-2007 01:55 PM
How do I avoid creating lots of mount points? adrian_stephens Linux - General 5 04-16-2005 03:46 PM
creating mount points and is the data safe if i change system JMK Linux - Newbie 4 01-22-2004 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration