LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-26-2011, 06:20 PM   #1
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Rep: Reputation: 15
Unable to boot from USB drive,


Hi there.

I'm the happy owner of an Eee PC 4G Surf and I'd like to install EasyPeasy 1.6 on it, however I can't get it to boot from the USB drive or the SD card to install.

Here's what I did.

1. Formatted a 1G USB stick as VFAT using mkfs.vfat from my Ubuntu desktop machine

2. Ran unetbootin-linux-502 to write EasyPeasy-1.6.iso to the USB drive. No errors or problems there.
Code:
root@easy:/home/jg/Downloads# fdisk -l /dev/sdd

Disk /dev/sdd: 1031 MB, 1031798784 bytes
255 heads, 63 sectors/track, 125 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x91f72d24

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1         125     1004031    b  W95 FAT32
root@easy:/home/jg/Downloads#
3. Insert USB stick into Eee and switch on (tried ports on both sides of the Eee)

4. Hit ESC to get the boot menu and select USB: Generic USB Flash Disk

.. but then I get

Code:
This is not a bootable disk. Please insert a bootable floppy and press any key to try again ...
So how can I boot from the USB stick? I've also tried an SD card, formatted and labelled FAT16. No joy.

Thanks for any help.
 
Old 03-26-2011, 06:30 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005Reputation: 1005
You never made the USB drive bootable. See here - http://wiki.geteasypeasy.com/Get_EasyPeasy
 
Old 03-26-2011, 06:32 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Does it boot on another computer?

Kind regards
 
Old 03-26-2011, 06:38 PM   #4
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by corp769 View Post
You never made the USB drive bootable. See here - http://wiki.geteasypeasy.com/Get_EasyPeasy
Thanks for the reply. What did I miss from the page you quoted? I believe I've followed all of those steps.
 
Old 03-26-2011, 06:40 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Yes you did.
Try the stick on another computer, if it doesn't work, use another stick or install manually
From the site:
Quote:
If none of the other Troubleshooting answers help you with your problem, try to do without UNetbootin, preparing the stick manually as described here. Or, try another USB disk. Some may work, some may not.
Kind regards

Last edited by repo; 03-26-2011 at 06:42 PM.
 
Old 03-27-2011, 07:08 AM   #6
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the replies. Interestingly, neither USB device I prepared using unetbootin will boot on my bigger laptop, which at least gives me hope that it's not the EEE's BIOS that's stopping the show.

About to try the manual method then ..
 
Old 03-27-2011, 07:17 AM   #7
slack-fu
Member
 
Registered: Feb 2006
Location: Norway
Distribution: Slackware Linux 13.37
Posts: 71

Rep: Reputation: 10
Did you mount or unmount the device when you formatted it? And how about when you used unetbootin, was it mounted or unmounted?
 
Old 03-27-2011, 08:25 AM   #8
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
It was unmounted when I formatted it (using mkfs.vfat). It was mounted when I ran unetbootin.

Now then - I've tried the manual method as specified here:

http://wiki.geteasypeasy.com/Install...stick_manually

But I've hit a problem at this stage:

Code:
root@easy:/home/jg/Downloads# parted /dev/sdd1 set 1 boot on
Error: Partition doesn't exist.
However,

Code:
root@easy:/home/jg/Downloads# fdisk -l /dev/sdd

Disk /dev/sdd: 1015 MB, 1015808000 bytes
32 heads, 63 sectors/track, 984 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1         984      991747+   6  FAT16
root@easy:/home/jg/Downloads#
I also tried it with an ext2 device, since the instructions suggest that that can help sometimes - but I get:

Code:
root@easy:/home/jg/Downloads# parted /dev/sdd1 set 1 boot on
Error: The flag 'boot' is not available for loop disk labels.
Any suggestions?
 
Old 03-27-2011, 08:31 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Replace /dev/sdX with the device node of usbdrive (example: sdb and not sdb1)

Kind regards
 
Old 03-27-2011, 08:35 AM   #10
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the quick response! That seemed to work.

Next problem:

Code:
root@easy:/home/jg/Downloads# ./isotostick.sh EasyPeasy-1.6.iso /dev/sdd1
Not verifying image...(no checkisomd5 in Ubuntu so skipping)!
./isotostick.sh: line 103: /lib/udev/vol_id: No such file or directory
USB filesystem must be vfat or ext[23]
Cleaning up to exit...
I don't have a /lib/udev/vol_id, but I guess I can hack the script to take out the check, unless someone has a more elegant solution.
 
Old 03-27-2011, 08:45 AM   #11
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
From
http://wiki.geteasypeasy.com/Trouble...:_Installation
Quote:
If you encounter the following error when running the isotostick.sh command

./isotostick.sh: line 103: /lib/udev/vol_id: No such file or directory
You may need to locate where the vol_id command exists in your current distro and update your local copy of the script. This command may help you locate the missing executable
find / -name \*vol_id\*
Kind regards
 
Old 03-27-2011, 09:29 AM   #12
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
OK, tried that - don't have it on my system anywhere. Thanks.

I've removed the check that uses vol_id, and I see from the code that I need to have a filesystem label. Tried:

Code:
root@easy:/usr# dosfslabel /dev/sdd1 usbcard
Seek to 516943796224:Invalid argument
root@easy:/usr#
and

Code:
root@easy:/usr# dosfslabel /dev/sdd usbcard
Logical sector size (1766 bytes) is not a multiple of the physical sector size.
root@easy:/usr#

Again, grateful for any suggestions.
 
Old 03-27-2011, 09:59 AM   #13
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
OK well I abandoned VFAT and decided to try ext2 instead. But my Ubuntu (10.4) doesn't have udevinfo either, and the script needs that as well.

Code:
root@easy:/home/jg/Downloads# ./isotostick.sh EasyPeasy-1.6.iso /dev/sdd1
Not verifying image...(no checkisomd5 in Ubuntu so skipping)!
./isotostick.sh: line 42: udevinfo: command not found
Partition isn't marked bootable!
You can mark the partition as bootable with 
    # /sbin/parted /dev//
    (parted) toggle N boot
    (parted) quit
Cleaning up to exit...
root@easy:/home/jg/Downloads#
Looks like I'll have to find a computer with an older Ubuntu on to set up the stick, or give up!
 
Old 03-27-2011, 11:22 AM   #14
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,119

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
If you are running ububtu 10.04, you already have the tool you need to create a bootable USB stick. Plug in your USB stick. Then System - Admin - Startup disk creator.

Select the EasyPeasy Iso.
Select your USB stick
"Erase Disk" (Make sure it is your USB stick!)

Make startup disk.
Wait till it is finished. Remove USB stick, put it in your EEE, boot from it.

This is how I put 10.04 on my eee701-4G (needs an SD card as well)
 
Old 03-30-2011, 03:56 AM   #15
slimjim
Member
 
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for all the replies.

In the end I formatted the SD card as ext2 and tried unetbootin again, and that worked! No idea why FAT16 and FAT32 failed, but as long as I have a solution I'm happy. Sounds like the built-in startup disk creator is a good plan as well, although I hadn't read that suggestion before I fixed it.


Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount USB drive in 12.2 enine Slackware 4 04-21-2009 08:25 PM
Boot from USB external drive, from laptop without USB boot support. darirod Linux - Newbie 2 12-19-2006 10:00 AM
help! unable to mount usb-drive ! ag2uki Debian 14 09-29-2006 03:38 AM
Unable to mount a usb drive drzenbe Linux - Laptop and Netbook 3 07-27-2006 06:27 PM
Unable to boot Knoppix on usb drive. andrew_cz Linux - Hardware 0 06-21-2006 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration