LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-29-2004, 07:51 PM   #1
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
How to put slack into "read-only" mode...


Looking to put slack on a CF card... so how would I make slack read only?
 
Old 03-29-2004, 10:04 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I have just finished (well, it is never going to be finished) a version of Slackware for CF cards, so I can give you some advice on this one.

If you are planning on installing Slackware on the CF like it was a harddrive, and then mounting it as root (hda1) forget it. Even though it could be done this way, it would be very slow. Also, the space on the CF card could be used much more efficiently.

For my system I boot into RAM, using the CF card to hold only the image of the Linux system (and kernel). This has two advantages, first, using a RAMDISK as your root mount point is going to be very fast, and two, you can compress your system image and get 3x the amount of data on the CF card.

For instance, I am using a 32 MB CF card which boots up my 28 MB Slackware system. But, only 12 MB are actually used on the CF card.
 
Old 03-30-2004, 02:23 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,762

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I have run my ZipSlack-based Amigo Linux on a USB 1.1 FLASH drive just fine.
However, it's going to fry your card pretty quickly. The cards have a limited number of read-writes. Still, it's easy to make it work for emergencies. Turn off all logging. the best way is to not install the syslog package. And don't use a swap file on the FLASH card.
There is a way to make the cards last much longer by using JFFS2 file system. Search Google, or even better search vivisimo.com.
 
Old 03-30-2004, 02:55 PM   #4
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Original Poster
Rep: Reputation: 30
Like I said... Read Only.

Ok... well I will put it like this...

I want the computer to use the CF card as if it was a bootable CD. The card is in read only mode just like a CD can't be written to...

So MS3FGX...
How do you make a bootable image for a CF card?
 
Old 03-30-2004, 04:48 PM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Just use dd to make a blank image the size you need, format it like you would format a drive, then mount it and copy your Linux system to it. Compress it with gzip, and you are done.

I use SYSLINUX to boot the card. It is designed to boot Linux from a FAT device (like the CF card) and it supports booting system images like I just described. You could format the CF card with ext2 and put LILO on it, but I found this more trouble than it was worth.
 
  


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
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Getting "Short read in buffer_copy" error with "dpkg" stalefries Linux - Software 6 03-24-2010 03:19 PM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM
Root filesystem stuck in "read only" mode. tunrau Linux - Newbie 8 08-21-2004 12:25 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 09:54 PM


All times are GMT -5. The time now is 01:00 PM.

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