LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 03-16-2019, 06:11 AM   #1
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,803
Blog Entries: 3

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
Running MX off an SD card


I have acquired a Dell Ultrabook - nice machine but it has no internal hard drive. I have a 64GB SD card instead. I have installed MX onto the SD card and partitioned it as /, /swap and /home.

The computer takes about 2 mins to boot to login prompt. However, after doing so it is very fast indeed, doubtless helped by the nice 3Ghz i5 processor.

Is there any disadvantage to running MX like this? It's slightly unconventional but works surprisingly well.

Last edited by Lysander666; 03-16-2019 at 06:13 AM.
 
Old 03-16-2019, 07:31 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,071

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
mmm less hd space to put things. 64GB ya know, The atime and noatime attribute, you might want to read up on this is you are not using that in your fstab.

https://askubuntu.com/questions/2099...4-with-noatime

http://tldp.org/LDP/solrhe/Securing-...hap6sec73.html

Quote:
Originally Posted by Lysander666
It's slightly unconventional but works surprisingly well.
not really unconventional, because it is made to run on USB sticks, and SD cards too. yes?
 
Old 03-16-2019, 09:08 AM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,093

Rep: Reputation: Disabled
I too, run an old Toshiba Satellite, (& on an old netbook base), from an SDHC card, it's better than having a pendrive hanging out the side - & I think it runs a bit faster.

(Both running AntiX.)

Last edited by fatmac; 03-16-2019 at 09:09 AM.
 
Old 03-18-2019, 07:09 AM   #4
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,803

Original Poster
Blog Entries: 3

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
The other question I have is from a hardware perspective. I suppose an SDXC card won't last as long as a normal internal hard drive but this thing is very fast at the moment. I have moved from MX to Devuan and it's performing excellently. Is it worth getting another internal drive [a bit expensive for me at the moment] or with daily use will this SD card hold up? I'm going to be using this machine as my primary machine for quite a few weeks to come.
 
Old 03-18-2019, 07:19 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,071

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
maybe look into some of the distros that shoves the OS into RAM so your the read / writes to your card are only when you access personal files. Or how ever that actually works. I'd think system calls like, anything in /usr/bin ../sbin would access your card.
noatime is what cuts back on writes to your card.

It depends on the usage of your card, keep a back up off all of your personal files then just run it until the card dies. Then get that brand New SD Card you have just waiting to be used for this purpose and create another System, put your backup personal files on to that one and keep on keeping on.

antiX and mX might already be putting the OS into RAM even, I do not know. I just keep antiX on a usb stick for that just in case I need it situation. (Basically)

It is really no different than having a internal hdd, if that fails, then you are still going to have to go through the same steps to get your system back.

find some free cloud service to back up your personal files to, and config files even that you have customized, so you will not have to rewrite all of them if a catastrophe such as your card fails does happen, and you find yourself having to create another SD Card system to use.

it should not fail within a couple of weeks. unless you got yourself one crapy cheep SD Card.

MOD
I actually found something here for antiX 'toram' puts the OS in RAM and it says you can even pull the stick and it keeps on running.

https://antixlinux.com/forum-archive...ram-t7164.html
excerpt"
Quote:
Originally Posted by some antiX guy
The live-usb features stemmed from my desire to have a fast-booting
rescue-usb that I could easily customize. I may be biased but I
honestly believe that antiX gives you the very best live-usb
experience of any distro, even Puppy. We have focused on fast
booting and extremely easy customization. As Skidoo said, we do
offer the"toram" feature but it is not needed if you are running a
live-usb or a live-cd. They both work fine without"toram" even if
you have no disk drive. The main purpose of"toram" is to load
everything into memory at boot time to make the system faster if
you are using a live-cd (which is slow) or a slow usb-1.x live-
usb.
https://download.tuxfamily.org/antix...X-gfxboot.html

Last edited by BW-userx; 03-18-2019 at 07:42 AM.
 
1 members found this post helpful.
Old 03-18-2019, 07:37 AM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,822
Blog Entries: 21

Rep: Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900
I'd remove the swap/ Just in case it shortens sd card life. I blew away a 124GB sd card on phone because of excessive writes.

I am surprised you did not make one of these sd card type of MX install.

https://www.youtube.com/watch?v=2vF_dw6Kpo8
 
1 members found this post helpful.
Old 03-18-2019, 07:47 AM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,822
Blog Entries: 21

Rep: Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900Reputation: 2900
PS. I am posting off a chromebook with AntiX ,

I don;t run swap partition on this Samsung SSD drive because I don't trust the hard drive.

Code:
harry@biker:~
$ inxi -b
System:    Host: biker Kernel: 4.20.12-antix.1-amd64-smp x86_64 bits: 64 Desktop: IceWM 1.4.2 
           Distro: antiX-17_x64-full Heather Heyer 24 October 2017 
Machine:   Type: Desktop System: Google product: Parrot v: 1.0 serial: <root required> 
           Mobo: Google model: Parrot v: 1.0 serial: <root required> BIOS: coreboot v: 4.0-6588-g4acd8ea-dirty 
           date: 09/04/2014 
Battery:   ID-1: BATX charge: 23.8 Wh condition: 30.9/37.0 Wh (84%) 
CPU:       Dual Core: Intel Celeron 1007U type: MCP speed: 1168 MHz min/max: 800/1500 MHz 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           Display: server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 3.3 Mesa 13.0.6 
Network:   Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter driver: ath9k 
           Device-2: Broadcom and subsidiaries NetLink BCM57785 Gigabit Ethernet PCIe driver: tg3 
Drives:    Local Storage: total: 14.91 GiB used: 7.86 GiB (52.7%) 
Info:      Processes: 137 Uptime: 43m Memory: 3.79 GiB used: 1.06 GiB (28.1%) Shell: bash inxi: 3.0.32 
harry@biker:~
Code:
harry@biker:~
$ free
              total        used        free      shared  buff/cache   available
Mem:        3975160     1023812     2307068       68416      644280     2667584
Swap:             0           0           0
Code:
harry@biker:~
$ sudo parted -l
Model: ATA SanDisk SSD U100 (scsi)
Disk /dev/sda: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  16.0GB  16.0GB  primary  ext4
 
1 members found this post helpful.
Old 03-18-2019, 08:41 AM   #8
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,803

Original Poster
Blog Entries: 3

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
Quote:
Originally Posted by BW-userx View Post

It depends on the usage of your card, keep a back up off all of your personal files then just run it until the card dies. Then get that brand New SD Card you have just waiting to be used for this purpose and create another System, put your backup personal files on to that one and keep on keeping on.

antiX and mX might already be putting the OS into RAM even, I do not know. I just keep antiX on a usb stick for that just in case I need it situation. (Basically)

It is really no different than having a internal hdd, if that fails, then you are still going to have to go through the same steps to get your system back.
You bring up some very good points here but you're right inasmuch as it depends on usage of the card. This machine is really only needed for music playing, browsing and writing, nothing very taxing. I have put a few sytem mons up to have a look at things. I've noticed that the most reading happens when opening new apps. However, once this is done once they stay in RAM and the card doesn't need to be accessed again to anywhere near the same extent. Of course there is no substitute for backing up up one's important work and this is vital.

rokytnji, With regard to swap, I have read it's better to have a swap partition than a swap file. Running a few experiments, the swap partition is hardly ever used. At the moment I have:

Vivaldi [five tabs]
Firefox [five tabs]
Spotify
Cherry Tree
Audacious
Libreoffice

open and I get:

Code:
lysander@lysultra-iv:~$ free
              total        used        free      shared  buff/cache   available
Mem:        3716460     1759756      317184      506520     1639520     1201000
Swap:       5279740         432     5279308
Just 423B used in swap. And I normally don't have anything near that amount open.

So I think for now it's probably OK just to keep it, keep and eye on things and back up work.

Last edited by Lysander666; 03-18-2019 at 08:51 AM.
 
Old 03-18-2019, 09:17 AM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,071

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
Quote:
Originally Posted by Lysander666 View Post
You bring up some very good points here but you're right inasmuch as it depends on usage of the card. This machine is really only needed for music playing, browsing and writing, nothing very taxing. I have put a few sytem mons up to have a look at things. I've noticed that the most reading happens when opening new apps. However, once this is done once they stay in RAM and the card doesn't need to be accessed again to anywhere near the same extent. Of course there is no substitute for backing up up one's important work and this is vital.

rokytnji, With regard to swap, I have read it's better to have a swap partition than a swap file. Running a few experiments, the swap partition is hardly ever used. At the moment I have:

Vivaldi [five tabs]
Firefox [five tabs]
Spotify
Cherry Tree
Audacious
Libreoffice

open and I get:

Code:
lysander@lysultra-iv:~$ free
              total        used        free      shared  buff/cache   available
Mem:        3716460     1759756      317184      506520     1639520     1201000
Swap:       5279740         432     5279308
Just 423B used in swap. And I normally don't have anything near that amount open.

So I think for now it's probably OK just to keep it, keep and eye on things and back up work.
is you SD Card created with ? in other words did you just burn it to the SD Card and use it as a live system, or did you use its create a persistence system with the app they have within it?

because that does not pick up the SD card.

I have mine created on a usb stick that I am wanting to do this with a SD Card. I have not messed with this distro enough to see if I can get persistence after just burning it to it via cli.
 
Old 03-18-2019, 09:22 AM   #10
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,803

Original Poster
Blog Entries: 3

Rep: Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892Reputation: 1892
Quote:
Originally Posted by BW-userx View Post
is you SD Card created with ? in other words did you just burn it to the SD Card and use it as a live system, or did you use its create a persistence system with the app they have within it?

because that does not pick up the SD card.
Interesting, they seem to be the same to me:

Code:
root@lysultra-iv:~# swapon -s
Filename				Type		Size	Used	Priority
/dev/mmcblk0p2                         	partition	5279740	416	-1

root@lysultra-iv:~# free
              total        used        free      shared  buff/cache   available
Mem:        3716460      872772     1241312      348668     1602376     2239268
Swap:       5279740         416     5279324
mmcblk02 is the swap partition.

Quote:
Originally Posted by BW-userx View Post
I have mine created on a usb stick that I am wanting to do this with a SD Card. I have not messed with this distro enough to see if I can get persistence after just burning it to it via cli.
I treated like any other hard drive, so I used the Devuan installer to write the partitions and OS to disk as I would if it were an SSD.
 
Old 03-18-2019, 09:29 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,071

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
Quote:
Originally Posted by Lysander666 View Post
Interesting, they seem to be the same to me:

Code:
root@lysultra-iv:~# swapon -s
Filename				Type		Size	Used	Priority
/dev/mmcblk0p2                         	partition	5279740	416	-1

root@lysultra-iv:~# free
              total        used        free      shared  buff/cache   available
Mem:        3716460      872772     1241312      348668     1602376     2239268
Swap:       5279740         416     5279324
mmcblk02 is the swap partition.


I treated like any other hard drive, so I used the Devuan installer to write the partitions and OS to disk as I would if it were an SSD.

so you did a basic install the system on to it then, and not go through the control center and use the app in there?

I actually forget the what the app is called, I followed the video instructions it has on there how to page.
 
  


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
Running Slackware off a microSD card? JamesGT Slackware 9 02-13-2019 05:27 PM
Running linux off of CF (Compact Flash) Card?!?! lsakhvoruk Linux - Hardware 10 06-21-2009 08:30 PM
Cant book off of Mandrake CDs, but can boot off of Knoppix.. WEIRD Whiskers Linux - General 6 09-05-2004 02:02 AM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 08:05 AM
apci=off or acpi=off ? mattl Linux - General 4 04-11-2004 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 12:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration