LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware on a USB stick... (http://www.linuxquestions.org/questions/slackware-14/slackware-on-a-usb-stick-705437/)

alpha_hack 02-17-2009 03:05 PM

Slackware on a USB stick...
 
Hey everybody,

I want to install a slack on a stick and use it as a live usb...
My only problem is that I want to do it on a NTFS usb so I can be able to write data on it from Windows ...
I was wondering if it's possible to do that as like KUbuntu where you install it on your windows partition....

If it's possible will somebody be willing to give me some information what should I look for and how to do it ?


Thanks in advance,
alpha_hack

rabbit2345 02-17-2009 05:35 PM

Have a look at this:
http://alien.slackbook.org/dokuwiki/...ckware:usbboot

It may be of some use.

But installing on NTFS is probably going to be harder, since Linux ntfs support can be fuzzy sometimes. Try using fat32 instead, it's more supported, and can be written by Windows


good luck,
rabbit2345

atalas 02-17-2009 08:50 PM

Ya know. I have 5 usb drives with slackware installed on each (they keep making larger drives). Anyway, the thought has never occurred to me to format the drive ntfs first. I will try this and see what comes of it. I suspect the only roadblock would be making sure that the drivers immediately load on boot. Maybe you would have to recompile the kernel or make a initrd ... or maybe do nothing.

I'm going to try this tomorrow and report back with what I find.

samac 02-18-2009 04:23 AM

I just found this link that allows you to make a live cd/dvd/usb Slackware that runs in a ramdisk. Maybe it will help you.

samac

Exeunt 12-06-2011 09:52 AM

NTFS Partition
 
Hi alpha_hack,

Why not have a separate NTFS partition which can be seen
by Windows and also can be mounted by Slack on ext3 or ext4?

Regards,

Exeunt

ruario 12-06-2011 01:40 PM

Just install ext3 as the main OS partition and have another partition that is fat32. Store stuff that you need to access in both OSes on the fat partition.

You could also place a copy of explore2fs on the fat32 partition. It will allow you to access the ext3 partition from Windows should you need to.

ruario 12-06-2011 01:45 PM

Alternatively, there is this:

http://www.diskinternals.com/linux-reader/

Probably plenty of others as well

ponce 12-06-2011 02:49 PM

if you like to multiboot a few things you can try to use grub4dos: I have done like this to boot installation/rescue disks and live distributions, but to boot a slackware install you can try also to use the disk image file method, if you like to format the usb with ntfs/fat.

linus72 12-06-2011 03:20 PM

Porteus, which is a derivative of Slackware, is supposed to be able to run live off NTFS USB or HDD.

You could also use a aufs-patched kernel and a hack of Linux-Live that I use to create a true live Slackware persistent USB/CD that basically runs just like Porteus/Slax but would be almost 100% Slackware depending upon which packages and from where (Salix, etc).

For instance I have a live version of Slackware -current with Fluxbox and kernel 3.1.4-smp that is 200MB and has copy2ram, persistence, etc. and Firefox 8, and some apps like Beep media player, Ted notepad, etc.

SCerovec 12-16-2011 09:19 AM

Quote:

Originally Posted by linus72 (Post 4543689)
Porteus, which is a derivative of Slackware, is supposed to be able to run live off NTFS USB or HDD.

You could also use a aufs-patched kernel and a hack of Linux-Live that I use to create a true live Slackware persistent USB/CD that basically runs just like Porteus/Slax but would be almost 100% Slackware depending upon which packages and from where (Salix, etc).

For instance I have a live version of Slackware -current with Fluxbox and kernel 3.1.4-smp that is 200MB and has copy2ram, persistence, etc. and Firefox 8, and some apps like Beep media player, Ted notepad, etc.

Could You be a bit more specific on the kernel and patch? (Salix what? :) )
I understand lately aufs got to mainline kernel tree? No patch needed anymore?
And I do second the Porteus folks are running a decent OS there :)

linus72 12-16-2011 09:39 AM

1 Attachment(s)
ok, you need a few things to turn a install into a live-media (CD/DVD/USB)

1) a version of Linux-Live scripts appropriate to the kernel/aufs/squashfs versions because there are differences between them

2) a aufs patched kernel thats setup for squashfs xz compression or lzma for older kernels (requires squashfs-lzma patch)

3) scripts taken from Slax and Salix live that run certain thins during live session, boot, etc

the aufs2 patch for kernel 2.** and aufs3 patch for kernel 3.** are here
http://cvs.pld-linux.org/cgi-bin/cvs...ckages/kernel/

I can upload the other stuff somewhere for you, including kernel configs etc
I have a pre-made i686 3.1.4-smp kernel and modules also, and other versions

Porteus is right now a singular effort to keep alive and provide an upgraded Slax-6.1.2 as Slax went dormant and some people wanted to see a continuation of it, thus Porteus.
It is very up-to-date but is not so closely attached to Slackware in terms of making packages, no slackpkg, etc
But like I said you can take any Slackware 13.1/13.37 or current install and turn it into a live-media that is also reinstallable, so its a back-up system as well. its persistent also if you choose and as long as you have all the x drivers installed it will boot just like Slax/Porteus

The SalixOS live CD's are quite different in some ways.
below is a screenshot of 242mb liveusb I just made from a 1.2GB 13.37 install

SCerovec 12-16-2011 12:47 PM

make it alive! :-)
 
I assume squashfs can be "fuse-d" in? but aufs can't as the ability to make layers is mandatory?

Also, I miss the stage where we go from a initrd to a live-initrd:
the one "enriched" with setting up the aufs layers before we do regular the init

And most of all I miss time right now, so forgive me if I fall suddenly out of sync?

The concept of layering packages is simply excellent, sadly the idea received only small attention so far?

I.E. imagine each boot the OS makes a separate RW package it writes all to,
On next insertion, it becomes RO, and the next one gets created.
All changes ever incrementally (l(x(tg)))z-ipped ever ;-)

So, I list(-en)
:hattip:
Stevan C.


All times are GMT -5. The time now is 06:46 AM.