(solved) boot from usb

For general ARCHLabs and Arch issues.
Please make a serious attempt to search for your issue before posting here.
We can't offer help if you have the Testing Repos enabled.

Moderator: Founder

(solved) boot from usb

PostPosted by Kong » Tue Apr 18, 2017 2:54 am

I am fairly new to Linux and have been running ArchLabs since the beginning. I have had no issue doing clean installs from my USB until now. I am running a Dell Laptop L702X and the BIOS shows my USB in the boot sequence however when I hit F12 on startup it doesn't give the USB option. This is not a dual boot system, it is straight Linux. I'm not sure what happened after the install of 3.3 that would have caused this. Is there a way to get 3.4 installed? Any help would be greatly appreciated. Thanks in advance

****Side note I have taken everything out of the boot sequence accept the USB and it still doesn't show however it shows everywhere else.*****
User avatar
Kong
 
Posts: 14
Joined: Tue Feb 28, 2017 2:30 am

Re: BOOT FROM USB

PostPosted by erikdubois » Tue Apr 18, 2017 3:22 am

did you try another usb
that happened to me once
furthermore i recommend mintstick (to write an iso to usb) as it served me well in the past
tip : mintstick will fail its installation - run it twice and it will install - the maintainer has not fixed it yet
etcher can be an alternative
Living to learn, learning to live.
Linux fits well in my life's motto.
More info on http://erikdubois.be
Archlabs support articles are on https://goo.gl/AaYI0b
Archlabs support youtube channel is on https://goo.gl/Lovquv
User avatar
erikdubois
Site Admin
Site Admin
 
Posts: 333
Joined: Sun Mar 05, 2017 5:42 am
Location: Belgium

Re: BOOT FROM USB

PostPosted by Kong » Tue Apr 18, 2017 3:44 am

Update:
Made new ISO with mintstick
Still not recognizing USB for boot even though it's in BIOS and can be read by the file manager.


I have tried another USB, they read and write fine.

I have been using Rufus and it always worked but I will try your suggestions to see what happens :!: :!:

Thanks
User avatar
Kong
 
Posts: 14
Joined: Tue Feb 28, 2017 2:30 am

Re: BOOT FROM USB

PostPosted by Dobbie03 » Tue Apr 18, 2017 5:35 pm

Try using Etcher to burn your ISO to a USB.
I like my Metal like my coffee.......black
User avatar
Dobbie03
Founder
Founder
 
Posts: 552
Joined: Sat Feb 18, 2017 2:51 pm
Location: New Zealand
Running Release: DobbieBang

Re: BOOT FROM USB

PostPosted by Nightowl » Tue Apr 18, 2017 8:41 pm

Possibly the usb has no boot flag set, go in to Gparted then click on Gparted menu dropdown - choose your device.
Then right click partition archlabs has setup on - click manage flags then set flag to boot, write out changes and exit. Make sure you choose the right device, sdb/sdc etc.

Reboot the computer and try to boot from your usb again.
User avatar
Nightowl
 
Posts: 75
Joined: Wed Apr 05, 2017 10:21 pm

Re: BOOT FROM USB

PostPosted by Kong » Wed Apr 19, 2017 8:20 am

I burned the ISO using Etcher

Used Gparted and everything is grayed out except format when right clicking on the USB and it indicates unmounted.

Still no joy. :(
User avatar
Kong
 
Posts: 14
Joined: Tue Feb 28, 2017 2:30 am

Re: BOOT FROM USB

PostPosted by suoy » Wed Apr 19, 2017 9:26 am

Passen by, just wana check something, that there is no missunderstanding...
Kong wrote:I am running a Dell Laptop L702X and the BIOS shows my USB in the boot sequence however when I hit F12 on startup it doesn't give the USB option.


By that you mean, it isn't listed in the Boot-Menu:
Image

If thats the case, then it's not the iso, or better said, the data which is on your usb drive. It is the USB drive or the USB Hub of your Notebook which make problems.
User avatar
suoy
 
Posts: 30
Joined: Wed Apr 19, 2017 2:28 am

Re: BOOT FROM USB

PostPosted by Nightowl » Wed Apr 19, 2017 10:58 pm

After many failings when i first started with linux and booting it from a usb drive i have encountered that it can be many things that are problematic.
1.USB
2. Method to install to USB
3. Bios / Uefi (i dont have uefi setup so i cant help there).

So as i boot from Bios legacy i can only show you my way of doing things and this may work for you or may not.

1. Shed contents of the USB.
Code: Select all
shred --verbose --random-source=/dev/urandom -n1 /dev/sdx
sdx denotes usb on system, make sure you have selected the external USB, very important, to check use lsblk command this gives you exact info on devices plugged into the machine
Code: Select all
lsblk --output NAME,PARTFLAGS,MODEL,VENDOR,SIZE


2. I also like to check and make sure partition tables are blown away using gdisk, so if you havent got gdisk installed
Code: Select all
pacman -S gdisk


Then i use these commands,
Code: Select all
gdisk /dev/sdx
when you have a menu choose X for advanced options, then Z to get rid of of partition tables both GPT and MBR.
Code: Select all
Command (? for help): m
b   back up GPT data to a file
c   change a partition's name
d   delete a partition
i   show detailed information on a partition
l   list known partition types
n   add a new partition
o   create a new empty GUID partition table (GPT)
p   print the partition table
q   quit without saving changes
r   recovery and transformation options (experts only)
s   sort partitions
t   change a partition's type code
v   verify disk
w   write table to disk and exit
x   extra functionality (experts only)
?   print this menu


3. fire up fdisk
Code: Select all
fdisk /dev/sdx
then click m to bring up help menu, choose whatever label / partition table to use (i use Dos so that is o) and the click A to make the usb bootable the w to write out changes. We are not creating a partition here, just making the usb ready for burning and booting.

Code: Select all
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): m

Help:

  DOS (MBR)
   a   toggle a bootable flag
   b   edit nested BSD disklabel
   c   toggle the dos compatibility flag

  Generic
   d   delete a partition
   F   list free unpartitioned space
   l   list known partition types
   n   add a new partition
   p   print the partition table
   t   change a partition type
   v   verify the partition table
   i   print information about a partition

  Misc
   m   print this menu
   u   change display/entry units
   x   extra functionality (experts only)

  Script
   I   load disk layout from sfdisk script file
   O   dump disk layout to sfdisk script file

  Save & Exit
   w   write table to disk and exit
   q   quit without saving changes

  Create a new label
   g   create a new empty GPT partition table
   G   create a new empty SGI (IRIX) partition table
   o   create a new empty DOS partition table
   s   create a new empty Sun partition table


4.Copy iso to usb example using DD
Code: Select all
dd bs=4M if=/path/to/archlabs.iso of=/dev/sdx status=progress && sync


make sure you do these commands as root. These commands i prefer and i have taken the time to research and learn them.

If unsure, use man pages (man gdisk, man fdisk etc)

As always, be carefull you are using the right device, aka your USB. These are powerful commands so take the time with them.

Hope this helped.
User avatar
Nightowl
 
Posts: 75
Joined: Wed Apr 05, 2017 10:21 pm

Re: BOOT FROM USB

PostPosted by Kong » Fri Apr 21, 2017 3:12 am

suoy wrote:Passen by, just wana check something, that there is no missunderstanding...
Kong wrote:I am running a Dell Laptop L702X and the BIOS shows my USB in the boot sequence however when I hit F12 on startup it doesn't give the USB option.


By that you mean, it isn't listed in the Boot-Menu:
Image

If thats the case, then it's not the iso, or better said, the data which is on your usb drive. It is the USB drive or the USB Hub of your Notebook which make problems.


This is correct it only shows when in BIOS to structure boot sequence and devices. The USB can be accessed and works fine and I have checked it on other machines i.e. Windows. I have tried another USB as well. Thanks for the help!
User avatar
Kong
 
Posts: 14
Joined: Tue Feb 28, 2017 2:30 am

Re: BOOT FROM USB

PostPosted by Kong » Fri Apr 21, 2017 4:36 am

Nightowl, thank you so much for the very informative post, I learned a lot from you instruction! However it didn't work, I have decided to go buy a new USB stick and see it that works. I am completely lost, the drives work for all other occassions..... :x :x :x

Thanks Again everyone for all this advice, at the very least I have learned a lot!

Nightowl wrote:After many failings when i first started with linux and booting it from a usb drive i have encountered that it can be many things that are problematic.
1.USB
2. Method to install to USB
3. Bios / Uefi (i dont have uefi setup so i cant help there).

So as i boot from Bios legacy i can only show you my way of doing things and this may work for you or may not.

1. Shed contents of the USB.
Code: Select all
shred --verbose --random-source=/dev/urandom -n1 /dev/sdx
sdx denotes usb on system, make sure you have selected the external USB, very important, to check use lsblk command this gives you exact info on devices plugged into the machine
Code: Select all
lsblk --output NAME,PARTFLAGS,MODEL,VENDOR,SIZE


2. I also like to check and make sure partition tables are blown away using gdisk, so if you havent got gdisk installed
Code: Select all
pacman -S gdisk


Then i use these commands,
Code: Select all
gdisk /dev/sdx
when you have a menu choose X for advanced options, then Z to get rid of of partition tables both GPT and MBR.
Code: Select all
Command (? for help): m
b   back up GPT data to a file
c   change a partition's name
d   delete a partition
i   show detailed information on a partition
l   list known partition types
n   add a new partition
o   create a new empty GUID partition table (GPT)
p   print the partition table
q   quit without saving changes
r   recovery and transformation options (experts only)
s   sort partitions
t   change a partition's type code
v   verify disk
w   write table to disk and exit
x   extra functionality (experts only)
?   print this menu


3. fire up fdisk
Code: Select all
fdisk /dev/sdx
then click m to bring up help menu, choose whatever label / partition table to use (i use Dos so that is o) and the click A to make the usb bootable the w to write out changes. We are not creating a partition here, just making the usb ready for burning and booting.

Code: Select all
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): m

Help:

  DOS (MBR)
   a   toggle a bootable flag
   b   edit nested BSD disklabel
   c   toggle the dos compatibility flag

  Generic
   d   delete a partition
   F   list free unpartitioned space
   l   list known partition types
   n   add a new partition
   p   print the partition table
   t   change a partition type
   v   verify the partition table
   i   print information about a partition

  Misc
   m   print this menu
   u   change display/entry units
   x   extra functionality (experts only)

  Script
   I   load disk layout from sfdisk script file
   O   dump disk layout to sfdisk script file

  Save & Exit
   w   write table to disk and exit
   q   quit without saving changes

  Create a new label
   g   create a new empty GPT partition table
   G   create a new empty SGI (IRIX) partition table
   o   create a new empty DOS partition table
   s   create a new empty Sun partition table


4.Copy iso to usb example using DD
Code: Select all
dd bs=4M if=/path/to/archlabs.iso of=/dev/sdx status=progress && sync


make sure you do these commands as root. These commands i prefer and i have taken the time to research and learn them.

If unsure, use man pages (man gdisk, man fdisk etc)

As always, be carefull you are using the right device, aka your USB. These are powerful commands so take the time with them.

Hope this helped.
User avatar
Kong
 
Posts: 14
Joined: Tue Feb 28, 2017 2:30 am

Re: BOOT FROM USB

PostPosted by Kong » Wed Apr 26, 2017 4:15 am

Well its a BIOS issue. All drives worked fine on a desktop I set up today. So some how, some way my BIOS crapped itself on the laptop. FML, time to start fresh after finally getting it where I wanted, :( :( :( :( :(
User avatar
Kong
 
Posts: 14
Joined: Tue Feb 28, 2017 2:30 am

Re: BOOT FROM USB

PostPosted by suoy » Wed Apr 26, 2017 6:30 am

Kong wrote: time to start fresh


Google: Did you mean "time to start flash?"
User avatar
suoy
 
Posts: 30
Joined: Wed Apr 19, 2017 2:28 am

Re: BOOT FROM USB

PostPosted by erikdubois » Wed Jun 07, 2017 5:51 pm

Living to learn, learning to live.
Linux fits well in my life's motto.
More info on http://erikdubois.be
Archlabs support articles are on https://goo.gl/AaYI0b
Archlabs support youtube channel is on https://goo.gl/Lovquv
User avatar
erikdubois
Site Admin
Site Admin
 
Posts: 333
Joined: Sun Mar 05, 2017 5:42 am
Location: Belgium


Return to Basic Help and Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron