You are not logged in.

#1 2011-02-12 04:13:07

furry
Member
From: Chrząszczyżewoszyce-Łękołody
Registered: 2011-02-10
Posts: 14

Installing on a USB stick

Hi. I want to install Archbang on the flash drive (I have no intention at all to use the hard drive). Is this possible? Yesterday I tried a few times, but each time the plant started up and finally jumped on the failure of communication. I think this is a problem with the improper selection of a partition on USB .Any ideas how to solve this?: |
Ps. Sorry for my poor English.

Last edited by furry (2011-02-12 04:22:18)

Offline

#2 2011-02-12 06:22:33

amayatheworld
Member
Registered: 2010-11-25
Posts: 81

Re: Installing on a USB stick

Hi there,
If your USB is partitioned hopefully someone else may be of help.
However, if its improper selection of the drive as in using incorrect paths as /dev/sdx1 where as it is suppose to be /dev/sdx and x is the variable like a, b, c that's all there is to it.

Here's a link to alternative ways of install Arch and in no way is this an RTFM response! lol I've gotten that alot myself, but again hopefully someone else will come and help.
https://wiki.archlinux.org/index.php/Pu … _a_USB_key

Also if your looking to boot multiple distros multiboot is worth a look.
http://www.pendrivelinux.com/boot-multi … iboot-usb/

Best of luck.

Offline

#3 2011-02-12 07:35:10

furry
Member
From: Chrząszczyżewoszyce-Łękołody
Registered: 2011-02-10
Posts: 14

Re: Installing on a USB stick

Thank you for your reply, but I already read those articles. But it did not help in the installation: |

https://wiki.archlinux.org/index.php/In … stallation it is possible to do that with archbang?

Last edited by furry (2011-02-12 08:02:13)

Offline

#4 2011-02-12 13:11:53

haikuhacker
Member
From: Columbia River Gorge
Registered: 2011-01-29
Posts: 13
Website

Re: Installing on a USB stick

Amayatheworld's world's first link has instructions for downloading an Archbang image then dumping it onto an unmounted usb drive with the command:

dd if=image.iso of=/dev/sd[x]

This is the best way to get a bootable usb Archbang live OS. Archbang's images are hybrid with a syslinux signature. Making this method optimal.

If you want a persistent portable OS, the link you last posted should work for you. I would format the usb drive with non-journaling ext2 to extend the life of the flash drive.


Salix-13.37-64-XFCE/Spectrwm Archbang/Razor-QT
Intel® Atom™ Processor D510
NVIDIA® GeForce™ 6200

Offline

#5 2011-02-13 01:30:58

gone
®
Registered: 2011-02-11
Posts: 83

Re: Installing on a USB stick

don't bother it can't be done, you can dd the image over to a USB or SD card, you may even make it persistent, but it cannot be installed.


________________
archlinux wiki

Offline

#6 2011-02-13 11:05:02

haikuhacker
Member
From: Columbia River Gorge
Registered: 2011-01-29
Posts: 13
Website

Re: Installing on a USB stick


Salix-13.37-64-XFCE/Spectrwm Archbang/Razor-QT
Intel® Atom™ Processor D510
NVIDIA® GeForce™ 6200

Offline

#7 2011-02-13 13:06:55

gone
®
Registered: 2011-02-11
Posts: 83

Re: Installing on a USB stick

tried that exact procedure many times, did not work for me


________________
archlinux wiki

Offline

#8 2011-02-13 13:12:59

haikuhacker
Member
From: Columbia River Gorge
Registered: 2011-01-29
Posts: 13
Website

Re: Installing on a USB stick

kerios wrote:

tried that exact procedure many times, did not work for me

But it worked for him, so it can be done.


Salix-13.37-64-XFCE/Spectrwm Archbang/Razor-QT
Intel® Atom™ Processor D510
NVIDIA® GeForce™ 6200

Offline

#9 2011-02-13 13:25:19

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,940
Website

Re: Installing on a USB stick

It depends on your bios if that is capable of booting from usb.
The guy in the linked post has a bios that can do that.
Pc's older than 5 or 6 years often can't, but younger ones have a bios that can be set to boot from usb.

I have two pc's that cannot do tit and I made a solution taken from pendrive:
make a bootcd that boots the usbimage as a workaround.
I have done so for crunchbang and madbox, so it should be possible for Arch too but I never tried it.

See this old post of mine: http://stillstup.blogspot.com/2010/01/c … x-910.html


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#10 2011-02-13 14:52:07

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: Installing on a USB stick

pablokal wrote:

It depends on your bios if that is capable of booting from usb.
The guy in the linked post has a bios that can do that.
Pc's older than 5 or 6 years often can't, but younger ones have a bios that can be set to boot from usb.

I have two pc's that cannot do tit and I made a solution taken from pendrive:
make a bootcd that boots the usbimage as a workaround.
I have done so for crunchbang and madbox, so it should be possible for Arch too but I never tried it.

See this old post of mine: http://stillstup.blogspot.com/2010/01/c … x-910.html

Booting usb devices on older machines that do not have usb boot capability via bios (flash drives, usb sticks, etc.)
can be done using Plop Bootmanager. There are several methods, check site for more methods.
I am showing one method of doing so by chain loading/booting via GRUB to PloP Bootmanager.

http://www.plop.at/en/bootmanager.html

Copy plbt.bin to /boot and edit menu.lst as below.
Take note that in the below example /boot and grub are on sda5,
So edit BIOS device spec to reflect your /boot partition device location. (if /dev/sda1 (hd0,0), if /dev/sda2 (hd0,1) etc.)
Take note also that the bootable usb device should be the only usb device plugged in when booting machine.
After you have booted from the USB device using PloP BootManager, you can then plug in USB devices you may need.
(USB device is sometimes not seen otherwise)

Example below:

title Chain Load PLoP Boot Manager
root (hd0,4)
kernel (hd0,4)/boot/plpbt.bin

Kruppt

Last edited by Kruppt (2011-02-13 21:32:52)

Offline

#11 2011-02-14 07:14:16

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,940
Website

Re: Installing on a USB stick

I have tried plop and had no success with it  on mentioned pc.
Maybe because I use usb keyboard and mouse.
But it is a method you can try of course.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#12 2011-02-14 07:41:54

spacetekcrusaders
Member
From: The planet Querta
Registered: 2011-02-01
Posts: 40
Website

Re: Installing on a USB stick

Well, can you just copy the iso file onto the flashdrive, and use it without installing it? Are there any problems with doing that? I do not think that reduces the functionability at all, but I am not sure. It seemed fine to me, but I did not try to save anything so there might be a problem with that. But you can probably run the computer off of one flashdrive and save any work onto a different flashdrive.

However, if you are going to use the iso file on a flashdrive, you have to copy the file to the computer first, then you can move the file to the flashdrive.

Offline

#13 2011-02-14 14:49:51

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: Installing on a USB stick

pablokal wrote:

I have tried plop and had no success with it  on mentioned pc.
Maybe because I use usb keyboard and mouse.
But it is a method you can try of course.

Yeah, I have tried it on several, the method does work if no other usb device is attached.
(have not tried archbang yet, just systemresuecd)
On older machines there generally are PS/2 ports that can be utilized for mouse and keyboard.
So if someone wanted to be able to boot usb devices on older biosed machines that do not
have usb boot capability, they would have to use the PS/2 devices. (keyboard/mouse)
When I find the time I will dd archbang iso over to flash drive and see if I can boot it
from some older boxes. I have tried the Plop Bootmanager method described above
with systemrescue installed on Scandisk usb stick and it did work on them all
as long as the usb stick was the only device attached upon booting.
May be a helpful tool to some.

Kruppt

Offline

#14 2011-02-28 10:25:13

vrovas
Member
Registered: 2011-02-28
Posts: 7

Re: Installing on a USB stick

Hi
I just finished installation on USB stick of 8Gb. It's took me a few oures but I did it . As mention above create  2 partition (7/1) (the best from live SD tools) and install ArchBang on first partition and 2-nd is Swap.It works OK and I am writing from running AB USB. If I did it without deep knowledge of AB everybody can DO

Offline

#15 2011-02-28 10:27:42

vrovas
Member
Registered: 2011-02-28
Posts: 7

Re: Installing on a USB stick

I forgot to mention that I used AB 2011/02 new one

Offline

#16 2011-02-28 13:46:33

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,940
Website

Re: Installing on a USB stick

. As mention above create  2 partition (7/1) (the best from live SD tools) and install ArchBang on first partition and 2-nd is Swap

Because of the limited number of write cycles of an usb stick (http://en.wikipedia.org/wiki/Flash_memory#Memory_wear) it is generally considered bad practice to create a swap file on it.
Also ext2 is advised  against ext 4 because of the more writing of the newer journaling file system.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#17 2011-02-28 17:33:14

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: Installing on a USB stick

Kruppt wrote:

Booting usb devices on older machines that do not have usb boot capability via bios (flash drives, usb sticks, etc.)
can be done using Plop Bootmanager. There are several methods, check site for more methods.
I am showing one method of doing so by chain loading/booting via GRUB to PloP Bootmanager.

http://www.plop.at/en/bootmanager.html

Copy plbt.bin to /boot and edit menu.lst as below.
Take note that in the below example /boot and grub are on sda5,
So edit BIOS device spec to reflect your /boot partition device location. (if /dev/sda1 (hd0,0), if /dev/sda2 (hd0,1) etc.)
Take note also that the bootable usb device should be the only usb device plugged in when booting machine.
After you have booted from the USB device using PloP BootManager, you can then plug in USB devices you may need.
(USB device is sometimes not seen otherwise)

Example below:

title Chain Load PLoP Boot Manager
root (hd0,4)
kernel (hd0,4)/boot/plpbt.bin

pablokal wrote:

I have tried plop and had no success with it  on mentioned pc.
Maybe because I use usb keyboard and mouse.
But it is a method you can try of course.




Kruppt wrote:

Yeah, I have tried it on several, the method does work if no other usb device is attached.
(have not tried archbang yet, just systemresuecd)
On older machines there generally are PS/2 ports that can be utilized for mouse and keyboard.
So if someone wanted to be able to boot usb devices on older biosed machines that do not
have usb boot capability, they would have to use the PS/2 devices. (keyboard/mouse)
When I find the time I will dd archbang iso over to flash drive and see if I can boot it
from some older boxes. I have tried the Plop Bootmanager method described above
with systemrescue installed on Scandisk usb stick and it did work on them all
as long as the usb stick was the only device attached upon booting.
May be a helpful tool to some.


I finally got around to using dd to image
an ISO file of ArchBang onto a SanDisk USB Stick.
The ArchBang USB flash drive booted on all the
older computers I tried it on, using PloP BM.
(that lacked USB Bios Boot capabilities)

Kruppt

Offline

#18 2011-02-28 17:39:17

vrovas
Member
Registered: 2011-02-28
Posts: 7

Re: Installing on a USB stick

Yes I read about that. My partition  are ext3. But most important as that guy who did it, it works the only deference is that grub install on usb and no changes needed.

Offline

#19 2011-03-01 05:56:54

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,940
Website

Re: Installing on a USB stick

I finally got around to using dd to image
an ISO file of ArchBang onto a SanDisk USB Stick.
The ArchBang USB flash drive booted on all the
older computers I tried it on, using PloP BM.
(that lacked USB Bios Boot capabilities)

Kruppt

I understand that  you did this with no other  usb devices attached.
My problem is that  mouse and keyboard are usb only on my older pc.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#20 2011-03-01 19:20:25

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: Installing on a USB stick

pablokal wrote:

I finally got around to using dd to image
an ISO file of ArchBang onto a SanDisk USB Stick.
The ArchBang USB flash drive booted on all the
older computers I tried it on, using PloP BM.
(that lacked USB Bios Boot capabilities)

Kruppt

I understand that  you did this with no other  usb devices attached.
My problem is that  mouse and keyboard are usb only on my older pc.


Yeah Pablokal, I was just confirming it works with ArchBang.
PloP Bootmanager is a good tool to have on hand.

Kruppt

Offline

#21 2011-03-02 19:55:05

vrovas
Member
Registered: 2011-02-28
Posts: 7

Re: Installing on a USB stick

Hi
I took moderators advice to svae USBstick and I install AB to USB HD using procedure above. And it works OK just using it now. The deference is when edit hooks need to add usb(word)   on the end and when installing grub install on USB HD and no changes needed unless you running Windows from main HD .It works perfekt

Offline

#22 2011-03-02 19:57:19

vrovas
Member
Registered: 2011-02-28
Posts: 7

Re: Installing on a USB stick

Btw Furry u can install now to USB and Kerio try again and U can make it

Offline

#23 2011-03-03 02:18:05

gone
®
Registered: 2011-02-11
Posts: 83

Re: Installing on a USB stick

ty vrovas will be trying again this weekend


________________
archlinux wiki

Offline

#24 2011-03-13 09:00:38

vrovas
Member
Registered: 2011-02-28
Posts: 7

Re: Installing on a USB stick

Hi kerios
Ilost my 40 GB HD (droped) and install CB on onother HD 30 GB the same procedure. No problem. What about You any lack ???

Offline

Board footer

Powered by FluxBB