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?!?
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.
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.
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.
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
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 :)
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
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.
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 )
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".
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
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!
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.
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.
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!
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?
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!
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!
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.
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".
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".
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.
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.
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. :)
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?
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.
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.
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.
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
@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!
@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.
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!
@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
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.
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.
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.
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.
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.
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?
ı 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
ı 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.