LinuxQuestions.org
Review your favorite Linux distribution.
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 02-17-2009, 02:05 PM   #1
alpha_hack
Member
 
Registered: Jul 2007
Location: Sofia, Bulgaria
Distribution: Slackware 13.1x86_64
Posts: 75

Rep: Reputation: 15
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
 
Old 02-17-2009, 04:35 PM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

Rep: Reputation: 39
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
 
Old 02-17-2009, 07:50 PM   #3
atalas
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
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.
 
Old 02-18-2009, 03:23 AM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
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
 
Old 12-06-2011, 08:52 AM   #5
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Rep: Reputation: 1
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
 
Old 12-06-2011, 12:40 PM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,783

Rep: Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797
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.
 
Old 12-06-2011, 12:45 PM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,783

Rep: Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797Reputation: 797
Alternatively, there is this:

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

Probably plenty of others as well
 
Old 12-06-2011, 01:49 PM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,380

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
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.
 
Old 12-06-2011, 02:20 PM   #9
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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.
 
Old 12-16-2011, 08:19 AM   #10
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Question

Quote:
Originally Posted by linus72 View Post
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
 
Old 12-16-2011, 08:39 AM   #11
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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
Attached Images
File Type: jpg 2011-12-16-094841_1280x1024_scrot.jpg (154.6 KB, 14 views)

Last edited by linus72; 12-16-2011 at 08:52 AM.
 
Old 12-16-2011, 11:47 AM   #12
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Thumbs up 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)

Stevan C.
 
  


Reply

Tags
ntfs, slackware, usb


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
Slackware 12 and automounting CD as well as USB stick trainee Slackware 3 07-04-2007 04:15 AM
usb stick in slackware 9.1 Clarence27 Slackware 16 10-15-2006 09:12 AM
How to use usb stick in Slackware 11? rsamurti Slackware 3 10-11-2006 01:54 PM
usb memory stick in slackware 10 MayaPT Linux - Newbie 1 10-02-2004 07:47 PM


All times are GMT -5. The time now is 06:03 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