Users online right now: 60 - Login  » search  » forum index  

Can't get Slax to boot on USB drive.

bbyb05
wrote 4 years ago


reply
My structure on my flash drive is.
-Boot
-My stuff
-personal files
-slax

I ran the boot.ini file to make it a MBR and it boots up part of the way and then fails. Any help. I think i am missing a file at the root of my flash drive, but i don't know what it is.

The error i get is
Looking for 'slax' dat dir (searching for livecd.sgn file)

Fatal error occured-slax data not found
you are maybe using an unsupported boot device eg. SCSI or old PCMCIA
Workaround:boot device to an IDE/sata disk.eg to /mnt/hda1/slax or cL\slax then try to boot again.


I am using a 4gb USB drive.

Any help would be greatly appreciated
 
feed3
wrote 4 years ago


reply
ran boot.ini?do you follow the correct steps on making your slax boot from your usb drive? i think theres several threads on how to do it..i assume you are preparing your usb drive slax within win OS.
1.format your usb drive to fat32
2.copy folder "boot" and "slax" along with all its content from source to your usb drive. if youre downloading "slax for usb", just extract all the contents to your usb drive.
3.run bootinst.bat from "boot" folder in your usb drive, follow on screen instructions.
it should be working.
 
bbyb05
wrote 4 years ago


reply
Sorry i got the file wrong. I downloaded the .tar file from the site. Then extracted the files using winrar to my flash drive after reformatting it. Then i ran the bootinst.bat file. That made the USB bootable. After doing so i still get the message.
 
Guy
wrote 4 years ago


reply
http://gr8idea.info/os/tutorials/slax/install-usb.html
 
feed3
wrote 4 years ago


reply
i think this threads: http://www.slax.org/forum.php?action=view&parentID=23220 by captain_picard should help you in many ways. good luck. =)
 
bbyb05
wrote 4 years ago


reply
I can get it to work on a 1gb USB but not a 4gb. Any suggestions?
 
feed3
wrote 4 years ago


reply
how if you make 2 partition on your usb drive, 2gb each. use gparted, make 2 gb each partion on your usb drive and try it again. i think that should solve your problem.
 
live
wrote 4 years ago


reply
I tried with 1GB works when formated as FAT, but not as FAT32.

Now WinXP does not allow 4Gb key to be formated as FAT.
So is there a way to run Slax on a 4GB key without having to partition the key ???
 
feed3
wrote 4 years ago


reply
live wrote:
I tried with 1GB works when formated as FAT, but not as FAT32.

Now WinXP does not allow 4Gb key to be formated as FAT.
So is there a way to run Slax on a 4GB key without having to partition the key ???


personally, when someone came by and asking about installing slax, it seem a bit strange for me. i've using slax on numerous types of device; 1gb SD card, 512mb, 1 gb, 4gb pendrive or even 60gb external usb HDD and for me, it is the most simplest things to do without any third party tools; just format to fat32 your pendrive in win xp, copy paste folder "slax" and "boot" from source, go to "boot" folder, double click bootinst.sh, follow the on screen instructions. thats all..

however, if you have gone through all of these without any success, try use lili's http://www.linuxliveusb.com/
 
dstter
wrote 4 years ago


reply
Try to do this on Linux. Using bootinst.sh. Format it using

mkdosfs /dev/xxx -F 32 -I

Do not use partiton, example sdb1, use just sda.

and copy tar files to pendrive.

Fat 16 is only until 2GB.

Hope to have help you!
 
live
wrote 4 years ago


reply
just format to fat32 your pendrive in win xp, copy paste folder "slax" and "boot" from source, go to "boot" folder, double click bootinst.sh

You probably meant bootinst.bat, as I think that bootinst.sh is when you are in Linux environnent, just for the sake of clarity I tried bootinst.sh and it is not recognized.
Anyhow as I said formatted as FAT32 under WinXP and excuting bootinst.bat does not make it work.
When I try to boot PC diffectly prompts that it doesn't find the kernel image.

>personally, when someone came by and asking about installing slax, it seem a bit strange for me.
Maybe then it depends on the configuration after all WinXP and WinXP SP3 are years different, just to mention there could be an issue with the booting script.

http://www.linuxliveusb.com/
I love thet, many thanks I'll try
 
feed3
wrote 4 years ago


reply
live wrote:
You probably meant bootinst.bat, as I think that bootinst.sh is when you are in Linux environnent, just for the sake of clarity I tried bootinst.sh and it is not recognized.
Anyhow as I said formatted as FAT32 under WinXP and excuting bootinst.bat does not make it work.
When I try to boot PC diffectly prompts that it doesn't find the kernel image.


ah, my bad.. so sorry.. the extension of the file not mentioned correctly.. hahahahaha.. shame on me.. lol

try using lili's to make slax on your 4gb pendrive.. might be works, might not.. but it works for me then.. you might also try one traditional way; try to make live usb for another distro on the very same pendrive and see if it can boot or not from the same computer,also check md5 of downloaded slax..

hope can help you.. =)
 
live
wrote 4 years ago


reply
Well on a 1Gb key formatted as FAT:OK, on a FAT32 no.

Same behaviour with Parted Magic 4.8
 
Kriss
wrote 4 years ago


reply
I'd suggest trying to format flash using standard WinXP tool: "Computer Management" (I use localized version so it will be better if I just write how to find it: "%SystemRoot%\system32\compmgmt.msc /s")
There choose something like "Disk Management", then choose your USB flash drive and right-click on it. Then Format.
It worked for me when Slax refused to boot from 8Gb LaCie iamaKey
Not sure why, probably initially it has too many blocks (in other words, small block size).
File system before and after that was FAT32
 
live
wrote 4 years ago


reply
Kriss, you're 100% right, it works under "compmgmt.msc", just type that in the cmd.

It also popped to my mind, as a week ago I first tried to install Win98SE (today I true real-time OS with all the RAM) on a partition formatted by GParted as FAT32 and it failled, when I formatted as FAT32 under DOS, it installed !
 
feed3
wrote 4 years ago


reply
you can access that function easily by right clicking on "my computer", choose "manage" and from the popping out window, choose disk management on the left pane.

but, lili's have an option to format your stick, i've git it a try on my PQI 4gb pendrive just now, and it works, i can boot slax from my stick just perfectly..
 
Kriss
wrote 4 years ago


reply
Indeed there's probably many ways to format USB flash so it will boot, I just named one.
I bothered to find out why long time ago (I had problems with 1Gb DataTraveler ReadyFlash with FAT16 with small block size) but I can't remember results anymore. On that particular system the problem was that only USB-FDD boot mode was possible so it had restriction on blocks count or something like this... But default block size usually worked Ok.
Just my thoughts aloud...
 
Bicephale
wrote 4 years ago


reply
Relatively to USB booting on PCs with no suitable BIOS...

I'd like to share a few observations here. I'm presently
evaluating a multiboot diskette where three methods are
included: 'DOS', 'PLoP' and 'KExec-Loader'. The 1st one
is the most ancient and yet the most successful on my
Celeron 400 Mhz, it's actually the only working method.

The USB v2.0 controller cards installed in that machine
and my everyday PC are similar (INtel uPC720101) and
the internal flash readers also appear to be equivalent
(Alcor AU636x) but what's working using 'PLoP' or even
'KExec-Loader' on my PIII 933 MHz machine simply fails
miserably on the other, hence the need to fallback to a
DOS legacy solution. By the way, when it comes to USB
both setups are "generic" under Windows...

It may not strike anyone's attention at a 1st glance but
i'm not continuously reformatting my SD cards while i'm
testing that USB boot diskette, which means that there
are HardWare/SoftWare combinations some of us here
might want to explore. Moreover, some LiveUSB flavours
are not equal to others, obviously. I must conclude that
the success of USB booting depends on the boot-loader
(SoftWare), physical configuration (HardWare) and your
target (Linux LiveUSB flavour) on top of the partition's
geometry (USB Flash media FAT16/FAT32 format)!
 
forum
wrote 4 years ago


reply
anasını sikeyim beni buralara kadar sürükleyen türk sitelerinin!!! kopyala yapıstır yapmaktan acıklama gösteremeyen ibnenin biri yüzünden ugrastım zaman kaybettim o kadar!
yazıklar olsun yaa pc bozuldu dedim flash bellekten bi çözüm düşündüm yazmış şerefsiz slax diye acıklama yok burdan girdim burdaki serefsizler daha beter neyse dedim yine bi umutla söylenenleri yaptım fat olarak bellege cektim eksizsiz herseyi defalarca yaptım yok boot edemiyor calısmıyor XP yi bırak kendisi bile yok
Allah bu kadar zamanımı harcayan hepinizinbelasını versin daha ne diyeyim
Türkiyede adam gibi gercekten bi insan olsa bilgisayar konusunda tüm forumlarda böyle boktan şeylere düşmezdik acıklayamadı kji bütün forumlar ikiz gibi birbirinin aynısı ve sonuc bu.
i wrote all these things for http://www.usbuzmani.com/
i hope they can read this message excatly
i lost my time i lost my hope i did what ever this stupid websites says but still my pc winXP dosent work. and your stupid slax in my fat (not fat32) flash memory dosent work to. there is 2 folder slax and boot but it didnt work on boot !!! if you have not solution or if you couldnt make easy recovery ways by this kind of programs why you invite us and why we need you! you make me spent all my time in a voin!
may be you will reply as a diffrent way to fix but i m sure trhat it isnt easy way and we all have to be engineer for this?
just damm you and your stupid friends as ubsuzmani.(they have no idea but they can do just copy paste without explain) why i did trust you?
 
feed3
wrote 4 years ago


reply
forum wrote:
i lost my time i lost my hope i did what ever this stupid websites says but still my pc winXP dosent work. and your stupid slax in my fat (not fat32) flash memory dosent work to.


you can repair your win xp bootlader, try search "fix mbr" in google, as for me, it is just a matter of inserting my win xp cd, press R key for repairing my xp, log in, fix that damn mbr.. (all in text mode).

dont know which one of the tutorial in that site that you follow but my advice is; dont follow anything people said to you blindly. you got your own brain too, think before doing, think before following, think before asking and think before posting.

regards.. =)
 
Done_Fishin
wrote 4 years ago


reply
points to note about formatting drives & flash memory

1. Under FAT (FAT12/16/32) there is a finite volume size that can be formatted and be usable under specific OS's. If you exceed the max size then the drive may not be recognised or the OS may not boot.

Typically it is acceptable that the volume of a drive / partition should not exceed:
32MB under FAT12
2048MB (2GB) under FAT16
8GB under FAT32

IF LBA24 is supported in BIOS then drive volumes up to 137GB and if LBA48 is supported in BIOS then we can break the 137GB barrier under FAT32.

Luckily most NEW USB Interfaces support LBA48 and so most USB drives are seen & accessed without problems.
problems can arise though when mounting large drives on older computers due to BIOS & Drive Interfacing limitations.

On my Dell CPi-A 366MHz 128MB RAM, I formatted the new 20GB drive I had installed using FAT16 and on a primary partition of 2GB where I have installed DOS6.22.

The reason for this is that DOS6.22 with FAT16 will not support more than a 2GB partition.

In order to run slax off of that drive I created the partition with parted magic after booting from the Parted Magic LIVE CD.
I used the FLAGS instruction to mark it as BOOT
I gave it a drive name using LABEL in order to easily see which drive I was looking at.

I booted into DOS from a bootable DOS 6.22 Floppy disk.
I gave the command sys c: from the A:> prompt to make the C drive bootable.
I removed the floppy and rebooted to rove that the C drive was bootable.
I then placed the BASIC slax CD that I had created after download into the CD ROM & booted from it.
When slax booted, which it should do if you have downloaded and written it in the correct format to a CD, from the desktop I clicked on System then Storage Media to see my drives.
I right-clicked on my 2GB drive and chose "open in new window" then did the same for the CD drive.
I selected both folders on the CD (Boot & Slax) and dragged them to the 2GB window, where I let them go and was prompted with questions about what I wanted to do. Move, Copy Link to the location or cancel.
selecting Copy, I now had all my BASIC slax files on the 2GB partition.

At this point I could now reboot without the LIVE CD, boot into DOS from my C: drive, change into the boot /dos directory by typing cd \boot\dos at the c:> prompt then typing slax to boot slax.

I used the exact same method to create a couple of dos bootable USB flash memories & Compact Flash (CF) memories (via a CF card reader).
CF cards of 16MB, 64MB and a USB Memory stick of 32MB were made DOS bootable, whilst installing slax ONLY onto bootable 1GB or 2GB CF cards & 1GB / 4GB USB memory sticks. The 4GB was partitioned to give a primary FAT16 2GB partition and an extended partition for the remainder, again formatting the partition with FAT16.

The information to do all this I gained from the slax.org site
probably here
http://www.slax.org/documentation.php


(You can download a bootable DOS6.22 floppy image at www.bootdisk.com)
 
Done_Fishin
wrote 4 years ago


reply
It seems that I was too quick to brag about my accomplishments.

I have been able to make Compact Flash cards Bootable into DOS using the above mentioned technique, However my Kingston 4GB won't play ball, starting to boot then just stopping in mid track.

I can get the drive to boot if I boot into DOS then use the batch file to make it bootable but then it is useless as DOS environment.

There are guides here http://www.bootdisk.com/pendrive.htm as to the many ways of making a flash drive bootable.

As a PC tech I want to have the functionality of both worlds. I think it's something in the device signature that stops the larger drives from being used as both DOS & Linux environments.

One thing for sure is that one can have a DOS bootable 256MB Flash or pendrive, probably because it's older technology.

A 2GB Compact flash memory can be made to boot into DOS & used to host both DOS & Slax, booting into slax using slax.bat in \boot\dos from the C: prompt.

I shall be looking further into this to see what can & can't be done regarding booting via USB.

btw .. booting into the Compact Flash card can be done using either a multipurpose cardreader bay drive or an individual CF to USB adapter.

Edit

using gparted to change the flag (on the flash / pendrive) to Boot allowed me to boot to DOS, then boot slax. I had forgotten that under DOS622 FAT16 we can't have more than one active partition, it refused to allow me to make it active in DOS Fdisk.
Mission accomplished.
 
Diptansu
wrote 4 years ago


reply
I have a 4 GB pen drive

I downloaded TAR file for USB ..

Extracted it. Found a folder named SLAX. Within SLAX there were two folders. BOOT and SLAX. In BOOT folder there were bootinst.sh file.

As I use ubuntu in my desktop I ran it in terminal.

It said to press any key to continue to make it bootable.

I did.

But its still not working and comp not finding any OS in the media.

Yes I USB drive was the first boot option ..

Pls help me ..

I have to format the pen drive for a number of time .. I did it with gparted in ubuntu .. in FAT 32 file format .. is there any problem occurring with that?
 
jayflood
wrote 4 years ago


reply

As I use ubuntu in my desktop I ran it in terminal.

It said to press any key to continue to make it bootable.


Firstly make sure you are root before setting up the boot installer. Secondly make sure you cd to the boot directory before running the bootinst.sh script. Thirdly look for the different USB boot options. USB-fdd, USB-cdrom etc. Play around with each one.

Of course you should test the USB in another computer (or another USB in yours) to make sure it works so you can isolate whether the device or the computer is creating the problem.
 
starcaptain
wrote 4 years ago


reply
Just for the record, I got a number of usb flash drives, 1G, 4G & 8G,
and a few external HDs (250Gb to 1T) with slax instaled in all of them,
and here's how I did it
- needed: any working live linux cd for starters (old, tty/console/text only, no localization, is OK)

a. partitioned them all with cfdisk, in clean/fresh partitions, type win-FAT, bootable
on the flash keys (1 to 8 GB sizes) there's still only one partition, but it's not the one it was sold with
(there's always problems reported with the original partitions)

b. formated them all with mkfs tools, most of their first partitions with mkdosfs to FAT32 !
(two of the large disks have ext first/boot partitions)

c. copied my personalised Slax in them (originaly the download, then always one already tested and working in a usb-flash)

d. made them slax-bootable, mostly from another slax (only one was made in winVista), running
./bootinst.sh
from the slax folder it is found in. (if you can;t do this, you NEED to read about how to run scripts in linux .. it just has to be an executable file and you call it preceded by ./ when it is in the current directory)

There were some problems when I used changes, but there are no problems at all now that I don't use changes. Changes is helpfull, and it's less troubled when saved in one of the included slaxsave.dat files or a bigger self-made one .. But after a long session and a lot of changes to store, builds, deactivated modules (which usually do not free their memory..) there arise memory problems - and I really don't want any cookies, recent file list command histories and all the other session info stored anywhere.
My longest slax session so far was 8 days.. no changes, no problems, I just had to pull the computer plug to move it to another room.

Slax rocks !


When you follow the above proposition (about clean & tidy fresh formating in Linux), and have your changes either in a slaxsave.dat file or in an xfs/ext partition, then any trouble with the usb flash (or usb disk) is either a hardware problem (especially if it shows back a second time), or a human error, mistype, not checking md5sums, not being carefull about u3-hardcoded usb flash units,.. and such.
(most errors I've had at the begining were my fault, one was a faulty new usb-flash the ventor was happy to replace asap)


ps. someone said something about size limits in formating Fat32 disk partitions, depending on the OSs that make them,
my biggest one -always formated with mkdosfs- is 500Gb, I believe it would be the same with the 1T, but I'd rather not use such large partitions yet.
So, for me, a slax cd is a great tool to format any-size FAT32 disk/part you like .. just better use the bad-blocks search switch on old disks.

my 2 cents
 
Diptansu
wrote 4 years ago


reply
@ jayflood

Well .. when I said I ran it in terminal I meant that I dbl clicked the file .. then in ubuntu I got four options .. Display, Run in terminal, Cancel, Run .... I chose to run in terminal. This is the only ioption where it said "Welcome to Slax' etc.

As for doing it as root there is no 'root' login in ubuntu .. All i hv to do is to put a 'sudo' in front of a command. But I dnt know the commands actually to run the .sh file in terminal (all I clicked the 'run in terminal' option) so cant put sudo.


@ starcaptain

- needed: any working live linux cd for starters (old, tty/console/text only, no localization, is OK)

a. partitioned them all with cfdisk, in clean/fresh partitions, type win-FAT, bootable
on the flash keys (1 to 8 GB sizes) there's still only one partition, but it's not the one it was sold with
(there's always problems reported with the original partitions)


Why a live CD is needed? What is cfdisk? How to get it? What is flash keys?
 
fanthom
wrote 4 years ago


reply
'Why a live CD is needed? What is cfdisk? How to get it? What is flash keys?'

you need to get the knowledge, please start here:
http://www.slax.org/forum.php?action=view&parentID=23220
 
Diptansu
wrote 4 years ago


reply
Funny .. :D

I just want to get a light and fast portable OS as good as SLAX what I can just plug in and run ..

Do you think I have so much time to explore all those links .. :D .. sorry mate .. :)
 
Diptansu
wrote 4 years ago


reply
well .. finally it worked .. thanks to all you guys ..

I finally found out what I had to do in linux to make the USB bootable. I followed 'jayflood' s suggestion and did this ..

cd /media/Disk/Boot

sudo ./bootinst.sh



Bingo .. it worked .. :D

Still am finding problems to set pppoe connection in slax .. looking for proper thread to discuss it .. :-/
 
fanthom
wrote 4 years ago


reply
@Diptansu
sorry mate... but i don't have a time to response all of your very basic questions. maybe someone will.

Cheers
 
FcTRulz
wrote 4 years ago


reply
maybe is this a solution, i had the same problem and it helpt me.. is easy to use program! :D

http://www.pendrivelinux.com/ just follow the instructions
 
FcTRulz
wrote 4 years ago


reply
did it work for you?
 
Diptansu
wrote 4 years ago


reply
Yess ... and moreover in that site everything can be done from Windows .. I dont have windows running in my comp .. my default OD is ubuntu ..
 
Timmi
wrote 4 years ago


reply
WTF!

Why doesn't it just "work"???

I'm moving on... far too frustrated with all of this just to try out the distro to make up my mind if I like it.

I just realized that this may just be the tip of the iceberg.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH