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

making the usb drive bootable - problem?

danielkz
wrote 5 years ago


reply
hi all

ive just run the bootinst script to make slax boot from my pendrive but im getting the following lines in the command line dialog box...

******
Setting up boot record for F:, wait please...
Accessing physical drive: Access is denied.
Did not successfully update the MBR; continuing...
Disk F: should be bootable now. Installation finished.

Read the information above and then press any key to exit...

******

im confused!! although the os isnt booting up when powering te laptop - any help anyone please?!?
 
some-guy
wrote 5 years ago


reply
run it as root (su/sudo)
 
yoman64
wrote 5 years ago


reply
Actually he said drive "F:" so i guess he is under some Windows OS. You may want to try adding the "-f" switch in bootinst.bat where it calls the boot installer, I had this issue once when installing to external hard drive.
 
danielkz
wrote 5 years ago


reply
hi

thanks for the replies...firstly im a newbie so am not too sure what some-guy meant!

yes i am trying to run slax from a usb pendrive...i tried bootinst.bat -f, but got the same responses!

any other suggestions would be greatly appreciated!
 
Ponce
wrote 5 years ago


reply
maybe you got a 2048 bytes block-sized pendrive, like me :( (you can check with "fdisk -l" under linux)

you cannot install neither lilo or syslinux on it, but you can start off from a cd that force booting from usb, this one
ftp://ftp.slax.org/SLAX-6.x/slax-boot-usb-from-cd-6.0.3.iso
 
some-guy
wrote 5 years ago


reply
root is admin in linux.
Are you an Administrator on that computer? You have to be one to overwrite the drive's MBR(Master Boot Record)
 
danielkz
wrote 5 years ago


reply
thanks again for your comments!

im running a vista pc...the problem is that im wanting to access another vista laptop thats gone wrong and doesnt boot properly.

i basically want to load slax into memmory, then copy/burn files from the laptop to a cd before i reformat and rebuild.

i read a former thread that mentions booting wont work from a fat32 pendrive, so ive reformatted as fat, but still the same problem.

checking my drive the block size is currently 4096 bytes, but a can change it when reformatting.

ive rechecked the boot order and have definitely got anything usb at the top.
 
some-guy
wrote 5 years ago


reply
right-click on the script and choose 'run as administrator', then let us know if it works
 
Ponce
wrote 5 years ago


reply
The correct block size to make lilo or syslinux work is 512 bytes: I have no luck in resizing my pendrive, but if yours is an hard disk maybe you can be luckier.

But I still think the cd solution should be easier.
 
manu
wrote 4 years ago


reply
I have the same problem, I'm sure it has something to do with admin privileges. But when I ried to run it as admin, I get the bootinst to work on C: instead of F and I can't change it.
 
ISH
wrote 4 years ago


reply
I would:

** Proceed with caution (Vista Only) **

1. Identify the drive letter of your USB disk
2. COPY bootinst.bat to bootinst.orig
3. Open/Save the bootinst.bat file with a text editor and replace %DISK% with the letter of the USB disk
3. Open the USB disk in windows explorer
4. Right click the bootinst.bat file and choose "Run As Administrator"
5. When done, delete bootinst.bat and rename bootinst.orig to bootinst.bat

See if that does it for you.
 
shustry
wrote 4 years ago


reply
danielkz wrote:
hi all

ive just run the bootinst script to make slax boot from my pendrive but im getting the following lines in the command line dialog box...

******
Setting up boot record for F:, wait please...
Accessing physical drive: Access is denied.
Did not successfully update the MBR; continuing...
Disk F: should be bootable now. Installation finished.

Read the information above and then press any key to exit...

******


You may do next things:
1. read this http://www.slax.org/forum.php?action=view&parentID=23262&anchorid=23316
2. extract archieve to any folder which name contains chars from latin-1 (A-Za-z0-9 e.g. C:\SLAXINSTALL)
3. create setup.bat in boot directory using info from p.1 of the instruction
4. press +R
5. type path_to_your_dir\boot\setup
6. press f
7. press enter
8. press enter
9. WAIT....
10. When completed - reboot the pc and boot from flash :)
 
shustry
wrote 4 years ago


reply
Ponce wrote:
The correct block size to make lilo or syslinux work is 512 bytes: I have no luck in resizing my pendrive, but if yours is an hard disk maybe you can be luckier.

But I still think the cd solution should be easier.


you should do next:
type in windows console:
echo 0x0D|format drive_name: /FS:FAT32 /A:512 /V:SLAX
that will format you drive using 512 bytes ber block and FAT32 filesystem
have fun
 
mark165
wrote 4 years ago


reply
I had the same problems, using Vista.

What you need to do is make these files run as Administrator, by right clicking, going to properties, and the option should be there somewhere:

/boot/syslinux/syslinux.exe

Try it now, you'll get a pop up from Vista asking warning of syslinux.exe trying to run as adminsistrator when you run bootinst.bat, click allow. It should now have worked, when i did it, bootinst.bat just closed when it worked, no confirmation it worked, but no errors to read.

If it doesn't work, try making these files run as Administrator too:
/boot/bootinst.bat and maybe /boot/syslinux/syslinux.com, i can't remember.

Good luck!
 
lettcco
wrote 4 years ago


reply
no offense, but the above instructions are clear as mud. as some-guy said, login as the REAL administrator. In vista, the REAL administrator is hidden. Follow instruction here to get into the REAL admin account. http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-windows-vista/
from there, run that bootinst.bat file again and no error should show up.
 
Darren
wrote 4 years ago


reply
lettcco wrote:
no offense, but the above instructions are clear as mud. as some-guy said, login as the REAL administrator. In vista, the REAL administrator is hidden. Follow instruction here to get into the REAL admin account. http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-windows-vista/
from there, run that bootinst.bat file again and no error should show up.



Ran the file in admin but error still show up carnt fing the path
 
ztro
wrote 4 years ago


reply
hello, i'm still newbe...
i have some problem with apache
there are some error when i try to connect to localhost
"Forbidden , you don't have permition to access / ...."

i've try to check to httpd.conf

( i add some module in slax , i locate it in folder base )

sorry my english to bad, i'm indonesian :-)
 
GrynayS
wrote 4 years ago


reply
echo 0x0D|format drive_name: /FS:FAT32 /A:512 /V:SLAX

in my USB 4GB 512 bytes is too small for FAT32!!!
:(
 
lay
wrote 4 years ago


reply
WORKING SOLUTION TO RUNNING BOOTINST.BAT via VISTA:

Run the command prompt AS administrator by typing in the text "command prompt" in the start menu search field -> then right clicking, "Command Prompt" and selecting, "Run as administrator".

navigate to /boot and run bootinst.bat

You should be good to go!
 
lay
wrote 4 years ago


reply
When I say "/boot" I mean, "driver letter here/boot" .... NOT YOUR C:/WINDOWS/BOOT
 
wanderson
wrote 4 years ago


reply
I did like the lay say and it run, after edit the variable %disk% I edit the line who contain the command syslinux, I insert the letter of the usb flash drive, don´t forget the run like administrator, right click above the bootint.bat (edited) and selecte run as administratot ( I think that is it, my windows is portuguese PT rsrs), sorry for the bad english, and good luck
 
forum
wrote 4 years ago


reply
If your still having problems, you might not be logged in as an admin. Try this: http://www.lancelhoff.com/login-to-vista-as-administrator/
 
Archoniam
wrote 4 years ago


reply
Uhh, simple answer. Here's whatcha do:
Go into Command Prompt *IN ADMINISTRATOR*

Don't forget through this that X is the drive letter that you use.
type the following lines:
X:
cd boot
bootinst
(press any key, let it go through)

You're done.
 
jorge
wrote 4 years ago


reply
just use the winows vista search in vista menu, search for cmd, then right-click on cmd.exe result, "run as administrator" and ready... u will not see that problem again!
 
mike
wrote 4 years ago


reply
thanks Archoniam
 
tjdonahoo
wrote 4 years ago


reply
Use UnetBootin. It works with Linux and Windows. GUI, too.

re: above, make sure you extracted the files to your USB...

Joe

danielkz wrote:
hi

thanks for the replies...firstly im a newbie so am not too sure what some-guy meant!

yes i am trying to run slax from a usb pendrive...i tried bootinst.bat -f, but got the same responses!

any other suggestions would be greatly appreciated!
 
Christian
wrote 3 years ago


reply
Archoniam
: your suggestion worked flawless thank you
 
kidstan56
wrote 3 years ago


reply
I have the same issue. Looks like this is an issue with vista. in XP it works fine when running the bootinst.bat not sure if this is a permission issue.
 
Alsafeir
wrote 3 years ago


reply
Archoniam (maaaaan U R No.1 here)
 
forum
wrote 3 years ago


reply
I'd burn to iso boot slax ( copy to ram ) , fresh format ( fat32 personally ) flash copy files from CD goto boot dir press F4 type
sh bootinst.sh

reboot make sure BIOS set to boot flash priority correct.
if you have enough RAM i'd use copy to RAM to reduce write cycles
 
Silver
wrote 3 years ago


reply
Thanks Archoniam!! I was tryin to do that earlier and failin all the time because i tried to cd: E:\ and it wouldn't change my path... i was really confused why it wouldn't let me do this as admin, but after using your sol'n i guess you have to just type E: to change path to E:, and cd only for directories.
 
Done_Fishin
wrote 3 years ago


reply
correct you can't change drives with cd since cd means Change Directory.
 
forum
wrote 3 years ago


reply
Archoniam wrote:
Uhh, simple answer. Here's whatcha do:
Go into Command Prompt *IN ADMINISTRATOR*

Don't forget through this that X is the drive letter that you use.
type the following lines:
X:
cd boot
bootinst
(press any key, let it go through)

You're done.


Works perfectly! But I will try and make it clearer.
1)Click the start button.
2)Search for cmd.
3)Right click cmd and run as administrator.
4)Type x: (where x is the drive you have slax on) and hit Enter.
5)Type cd boot and hit Enter.
6)Type bootinst.bat and hit Enter.
7)The correct drive letter should now be there and all you have to do is hit any key and close the window. Your done!
 
Syntux
wrote 3 years ago


reply
I just found that my new PC (Lenovo Thinkpad W500) will not boot some of my Slax USB Sticks anymore :(
I never had any problems with an older Lenovo Thinkpad T60p, but with the new machine and some Sticks I will get a Boot error!

Any idea why this is?

I guess it is a BIOS problem? Could upgrading the BIOS or reformatting the USB Stick help?
 
aCROX999
wrote 2 years ago


reply
mark165 wrote:
I had the same problems, using Vista.

What you need to do is make these files run as Administrator, by right clicking, going to properties, and the option should be there somewhere:

/boot/syslinux/syslinux.exe

Try it now, you'll get a pop up from Vista asking warning of syslinux.exe trying to run as adminsistrator when you run bootinst.bat, click allow. It should now have worked, when i did it, bootinst.bat just closed when it worked, no confirmation it worked, but no errors to read.

If it doesn't work, try making these files run as Administrator too:
/boot/bootinst.bat and maybe /boot/syslinux/syslinux.com, i can't remember.

Good luck!


That really did the trick! Now I didn't get any errors for updating the MBR, thanks man!
 
kunkunkun
wrote 2 years ago


reply
This worked for me:

forum wrote:
Works perfectly! But I will try and make it clearer.
1)Click the start button.
2)Search for cmd.
3)Right click cmd and run as administrator.
4)Type x: (where x is the drive you have slax on) and hit Enter.
5)Type cd boot and hit Enter.
6)Type bootinst.bat and hit Enter.
7)The correct drive letter should now be there and all you have to do is hit any key and close the window. Your done!
 
Catfish
wrote 2 years ago


reply
mark165 wrote:
I had the same problems, using Vista.

What you need to do is make these files run as Administrator, by right clicking, going to properties, and the option should be there somewhere:

/boot/syslinux/syslinux.exe

Try it now, you'll get a pop up from Vista asking warning of syslinux.exe trying to run as adminsistrator when you run bootinst.bat, click allow. It should now have worked, when i did it, bootinst.bat just closed when it worked, no confirmation it worked, but no errors to read.



THIS SOLUTION WORKED. Like the other person said, a lot of those instructions were as clear as mud.
 
forum
wrote 2 years ago


reply
what is "Fatal error occuered-slax data not found" ?
 
mr.creator
wrote 2 years ago


reply
run window os in safe mode and try again.It will be ok.
 
ally
wrote 2 years ago


reply
http://www.slax.org/forum.php?action=view&parentID=74623

Workaround for Win7, it worked for me
 
stringer7
wrote 2 years ago


reply
This thread might be useful to read?
http://www.slax.org/forum.php?action=view&parentID=73009
 
tony
wrote 1 year ago


reply
solved

hell with vista or windows 7

run it under windows xp only

for all of you who are having problems with access denied or system cannot find the path

do the following

extract the tar file to your usb stick

copy boot and slax to root directory

go to boot directory and run the batch file

done!
 
travla
wrote 1 year ago


reply
lay wrote:
WORKING SOLUTION TO RUNNING BOOTINST.BAT via VISTA:

Run the command prompt AS administrator by typing in the text "command prompt" in the start menu search field -> then right clicking, "Command Prompt" and selecting, "Run as administrator".

navigate to /boot and run bootinst.bat

You should be good to go!


This worked a treat, thank you.
 
wortega
wrote 1 year ago


reply
That is true the solutions works thank you men

lay wrote:
WORKING SOLUTION TO RUNNING BOOTINST.BAT via VISTA:

Run the command prompt AS administrator by typing in the text "command prompt" in the start menu search field -> then right clicking, "Command Prompt" and selecting, "Run as administrator".

navigate to /boot and run bootinst.bat

You should be good to go!
 
wortega
wrote 1 year ago


reply
The solutions from Lay works
Thank you men.
 
kamikakushi
wrote 1 year ago


reply
bueno yo tube un problema similar con mi memoria
pero lo solucione particionandola y formateando la primera particion en fat16
 
idoruby
wrote 1 year ago


reply
On an Ubuntu system got the following while runnig in sudo:

./bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied
 
idoruby
wrote 1 year ago


reply
idoruby wrote:
On an Ubuntu system got the following while runnig in sudo:

./bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied


More description
I note that lilo does not have chmod x set. will put "sh" at front of line 53. chmod on lilo failed.
liloinst.sh fails in same way.
Moved lilo to /tmp, chmoded, modified bootinst.sh to run lilo from /tmp and it worked!!!!
Looks like I have a 2005 version of Linux with an outstanding gui.
 
agreimann
wrote 1 year ago


reply
Check your permissions on the file and do a chown and chmod +x on it if you're using an ext drive. If you're trying to run bootinst.sh in Ubuntu from a fat filesystem, you won't be able to. Either use cmd (found in .wine/dos_drives/drive_c/windows/system32 in your home folder; the path may vary) to do a Windows-like install, or otherwise convert the flash drive to ext2, recopy the boot and slax folders, and try again.
 
agreimann
wrote 1 year ago


reply

Moved lilo to /tmp, chmoded, modified bootinst.sh to run lilo from /tmp and it worked!!!!
Looks like I have a 2005 version of Linux with an outstanding gui.


I can see I didn't need to reply so soon. :) Glad to hear that everything worked for you, then. :)
 
idoruby
wrote 1 year ago


reply
agreimann wrote:

Moved lilo to /tmp, chmoded, modified bootinst.sh to run lilo from /tmp and it worked!!!!
Looks like I have a 2005 version of Linux with an outstanding gui.


I can see I didn't need to reply so soon. :) Glad to hear that everything worked for you, then. :)



Thx for your help. I understand more what happened.

Slax looks great, heavenly compared to Unity on Ubuntu. But it appears to be very old; 7 is surprisingly old for a distribution. Am I missing something? Is there something more current or are we going for really reliable here?
 
agreimann
wrote 1 year ago


reply
Once again, glad to hear things worked for you. Well, to respond to your comment... there is the Porteus project -- http://www.porteus.org, if you're looking for unofficial new updates to Slax, like KDE SC 4, a newer Firefox, better filesystem, etc. And really, it's a fork or derivative.

But, yes, Slax is REALLY old now and sadly we're most likely not getting any further updates from here outside Porteus until the author, Tomas M, has time to release Slax 7 (and no one knows now exactly when this illustrious day will be.) :) But I for one am really thankful for all the work he's put into this. It's really good and stable after all this time.
 
Random Name
wrote 1 year ago


reply
I have a problem with making the USB bootable.
I`m using Win 7(64-bit), but tried to do the same on XP(32-bit).Tried it on 3 USBs. I formated each one in FAT, then FAT32.

bootinst.bat always ends in this:

"Setting up boot record for E:, wait please...
Acessing physical drive: #strange letters(like the language coding is messed(USB is titeled E:, and there`s only 2 folders in there: /boot and /slax))#
Did not sucssesfuly update the MBR; continuing...
Disk E: should be bootable now. Installation finished."

Can this problem be caused by the russian vesion of Windows?
Did it matter what I use USBs not competable with ReadyBoost?
Can I even make the USB bootable from Win?

I have already tested one USB with another distribution of Linux.(It had an installer). Evrything worked. The flash was bootable.

What`s the problem?
Please, help.
 
bb as guest
wrote 1 year ago


reply
Worked from win7 32b here, both usbstick and an SD card;

-- logon as admin
-- open cmd window
-- change volume to E: (or whatever name win7 gives to the stick)
-- change directory to \boot
-- run bootinst.bat E:

The usual failure is because you are not administrator, and it won't work correctly by just clicking on bootinst.bat from a window.
 
chris
wrote 110 days ago


reply
i tried to install slax 7 on my usb using universal usb installer.after saving it to my usb i opened command prompt and typed

f:
slax/boot
bootinst.bat

but i got an error

there is no disk in the drive.please insert a disk into drive \Device\Harddisk\|DR1.

i clicked on continue and then on the command prompt window it read

please wait
setting up boot record for F:
installation finished
press any key

after pressing a key the window closed and then nothing happened.i restarted the computer and still no change
 
Wizard57M
wrote 110 days ago


reply
@Chris...
Be careful...you don't want to mess up the boot record of your Windows installation!
Will your computer still boot Windows? If so...boot Windows. Now, you should probably
download the new Slax 7.0.5 from the website, as sometimes Unetbootin and other universal
installers seem to fail. Once downloaded, then extract the contents of the ZIP file to
your USB thumb drive. Using Explorer (not Internet Explorer!!) open a window of your
USB drive contents, then just find the SLax/boot directory, in it is the bootinst.bat
file which will make your USB thumb drive bootable. Then reboot and enjoy!
 
chris
wrote 109 days ago


reply
@Wizard57m
hi thanks for the reply.
can you tell me the difference between the zip and iso file available for download.
anyways i'll download the zip file and try it out a little later.
i also have ubuntu which i installed using wubi.i tried with unetbootin but the slax option didnt show up in the boot option.i even tried to start it from the terminal by going to the boot folder and entering

sudo ./bootinst

but i got the same error as in windows.
what is it with these universal installers???
i hope that slax can come up with a fool proof way to install slax on a usb.
 
jcsoh
wrote 109 days ago


reply
The iso is intended to be burn to cd/dvd.
The zip is meant for extraction and installation to usb /writeable media.

There is no sudo in default slax since it's running by default as root.

"i hope that slax can come up with a fool proof way to install slax on a usb."
This statement is "subjective"
Some user found it totally easy .
From Tomas blog
" Marc Collin 2013-02-28 11:19

Congratitulations!

I just installed Slax on a USB Key and it took me approx. 10 minutes, configurations included, to get everything working perfectly.

I remember the old OS from Macintosh. You just had to copy it on a disk or partition and then boot on it. It's the first time I see another system so easy to install! You are genius!

Thanks

Marc"

Some found it hard.

But all are running the same slax's script ?
 
chris
wrote 109 days ago


reply
@jcsoh
is it necessary to download the sudo module from a security point of view.
also i connect to the internet using a data card.will wireless and Bluetooth be an issue or should i download a module from networking
 
jcsoh
wrote 109 days ago


reply
Obviously if you are running as root , then you won't need the sudo module .
If you are running from a non root user , then perhaps the module have a use.

Securitywise I can't say as I am one of slax user who run as root.
Perhaps I don't know which groups to add but the few times I try to create a non root user , slax it some what crippled and a lot of task is forbidden. So much so I just stick to the default root.

But other than sudo , slax use can use su to run root command. su is included in slax.
 
chris
wrote 109 days ago


reply
hi
i downloaded the zip file for slax.extracted it to the usb and clicked on bootinst.bat.there were no errors but nothing happened after rebooting.should i check the boot menu by pressing f2 at the start.
 
jcsoh
wrote 109 days ago


reply
You need to set up your computer to boot from the usb first before the hard disk on the computer.
When your computer boots up , usually for a short while on screen there will be a message on which key to press to enter the bios menu. Set the usb to boot first in preferance over the hard disk.
 
parrothead
wrote 109 days ago


reply
chris wrote:
hi
i downloaded the zip file for slax.extracted it to the usb and clicked on bootinst.bat.there were no errors but nothing happened after rebooting.should i check the boot menu by pressing f2 at the start.


I haven't done this on Windows but I believe it's been reported that you have to run the bootinst.bat as administrator in newer versions of Windows. I think it's right-click on the file and select run as administrator. Otherwise the script is unable to write to the MBR.
 
bb as guest
wrote 109 days ago


reply
chris wrote:
hi
i downloaded the zip file for slax.extracted it to the usb and clicked on bootinst.bat.there were no errors but nothing happened after rebooting.should i check the boot menu by pressing f2 at the start.


Yes, that will work. Hit F2, then select the usb device to boot from.
 
chris
wrote 108 days ago


reply
hi
the boot changes are not mentioned in the instructions text that came with the zip file for slax.i'm really not sure how to change the settings.there is a block labled path file name,is it the one where you have to mention the path where slax is saved ief:/slax/boot?
 
zynp187
wrote 103 days ago


reply
Hi

ı followed your instructions but while bootins.bat run as o manager make an error (error says installing boot error ) what can ı do? please help .thank you
 
nonassimilant
wrote 85 days ago


reply
Try setting up in Midnight Commander.
 
francois.e
wrote 81 days ago


reply
zynp187 wrote:
Hi

ı followed your instructions but while bootins.bat run as o manager make an error (error says installing boot error ) what can ı do? please help .thank you


Try with another download of slax. If you have the same result report on tomas blog:
http://www.slax.org/blog/

Please provide a link to the specifications of you computer, if you do so.
 
dan
wrote 73 days ago


reply
hi, i wanted to test slax on usb before give it to a friend
problem: boot error
i installed it from a mageia 64 lxde desktop
 

  » 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