LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-03-2010, 10:44 AM   #1
caddi fuller-Teabags
LQ Newbie
 
Registered: Nov 2007
Location: NW England, on the coast
Distribution: Mint (daryna and celena)
Posts: 8

Rep: Reputation: 0
Question Installing from USB on netbook - still boots from hdd


Hi all

I used unetbootin to make a bootable usb with PeppermintOs and then reset the BIOS to boot from 'removable'.

It would not boot - went straight to the (grub?) menu offering mint, and mint safe recovery which is from the hard drive.

First USB did not work, so bought a new one (4gb) and that did not work so borrowed a 1GB from a colleague. This did not work either.

I have tried two different ISOs (having done the MD5sum on them as directed).

I have tried fat 32 and ext formats (using gparted to format it as I don't know any other way) and from there I can see that it says boot, lda).

When I disabled HDD from BIOS, the USB was read but then the message was that no boot device found, replace with proper boot device.

I also tried using the start-up disc creator.

Each time I have tried it on my desktop PC too, having set up the BIOS and I haven't been able to boot with them there either. I know that the netbook will boot from USB as that is how Mint 9 got installed on it.

In desperation I even tried creating the USB from windows. Even that didn't work.

Whilst I have a working copy of MInt 9 on the netbook, this is not vital, but I so want to try peppermintOS on it.

Can anyone please, please help?

Caddi
 
Old 10-03-2010, 06:33 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It seems pretty clear that the method you are using to create the bootable USB device isn't working, so the first step would be explaining your process for making it. Are you following some kind of guide? What are your exact steps?
 
Old 10-03-2010, 06:54 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I'd like to know what the bios says about that usb flash drive. Boot to bios with the flash in. Does it show up under hard drives or under removable media?
 
Old 10-03-2010, 07:06 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I had a similar experience recently. Only one of all the USB keys I tried would boot. And I wasn't game to overwrite that key just in case.
Eventually had to boot that (with another also plugged in), and try and remove the boot key at an appropriate moment, and fool the loader so the key I really wanted would be found and installed. Worked about one in 5 goes.
Never did find the problem, but now I feel I can overwrite the "good" boot key.
 
Old 10-03-2010, 11:55 PM   #5
guthan
LQ Newbie
 
Registered: Nov 2009
Posts: 19

Rep: Reputation: 0
When I tried:
# cfdisk /dev/sdf (make a FAT16 bootable partition)
# mkdosfs -F 16 /dev/sdf1 (make the filesystem)
# dd if=/usr/share/syslinux/mbr.bin of=/dev/sdc
# mkdir -p /mnt/cdrom
# mount -o loop,ro -t iso9660 cd-image.iso /mnt/cdrom
# mkdir -p /mnt/usb
# mount -t vfat /dev/sdc1 /mnt/usb
# cp -r /mnt/cdrom/* /mnt/usb
# mv /mnt/usb/isolinux/* /mnt/usb
# mv /mnt/usb/isolinux.cfg /mnt/usb/syslinux.cfg
# rm -rf /mnt/usb/isolinux*
# mv /mnt/usb/memtest86 /mnt/usb/memtest
# umount /mnt/cdrom
# sed -i \
-e "s:cdroot:cdroot slowusb:" \
-e "s:kernel memtest86:kernel memtest:" \
/mnt/usb/syslinux.cfg
# umount /mnt/usb
# syslinux /dev/sdc1
I edited /etc/mtools/mtools.conf on my host commenting out SAMPLE FILE (It is the first time I use syslinux)



When I reboot the PC and choose the flash memstick in BIOS, "boot error" appears on the screen. I tried with a ext3 bootable partition (I use mke2fs -j), when I reboot the PC and choose the flash memstick in BIOS, the computer boots to hard drive. What can I do?
 
Old 10-04-2010, 08:05 AM   #6
Ampere
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
This is a little off topic, but anyone know how to make Readhat boot from a USB?
 
Old 10-04-2010, 08:33 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Ampere View Post
This is a little off topic, but anyone know how to make Readhat boot from a USB?
This is called thread-hijacking and is bad manner. Open your own thread.

@guthan: the same, but one question: Why do you format sdf1 and the copy your disk to sdc1?
 
Old 10-04-2010, 09:21 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Have you tried unetbootin, check the link below:

http://unetbootin.sourceforge.net/

Quote:
Why do you format sdf1 and the copy your disk to sdc1?
I wondered about that, and also why this:

Quote:
dd if=/usr/share/syslinux/mbr.bin of=/dev/sdc
when you have formatted sdf1? How many flash drives do you have or are you using? and are you plugging them to different ports each time?
 
Old 10-04-2010, 03:40 PM   #9
caddi fuller-Teabags
LQ Newbie
 
Registered: Nov 2007
Location: NW England, on the coast
Distribution: Mint (daryna and celena)
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
It seems pretty clear that the method you are using to create the bootable USB device isn't working, so the first step would be explaining your process for making it. Are you following some kind of guide? What are your exact steps?
I am not using a guide. I did think I knew what I was doing, but clearly not. :[ I am sure that you are right - I seem to be making the same mistake repeatedly.

First I downloaded the ISo and did the MD5 checksum from the terminal and it matched the one on the website.

Then I took the USB flashdrive (a 2 gig one) and formatted it using gparted. To do this I had to unmount it. Originally I formatted it as ext 3, but when I couldn't get it working I used fat32.

I then took the pendrive out and put it back in to remount it.

Then I went to unetbootin (from the gui menu - I don't do much in terminal). I select the option of ISO rather than distro and navigate to the appropriate ISO (Peppermint-Ice-07142010.iso) and check it is the correct drive (sdg1). This takes a little time (2 minutes or so). Then the programme suggests a reboot or quit.

SO at this point I have rebooted - on my desktop, which I know will boot from USB. I go into BIOS and set it to 1st boot - USB-CDROM, 2nd boot CDROM, third boot HDD. No CD in the drive.

Save and exit.

On boot the message Boot from CD displays for a very short time and then boots straight into the Grub menu from the Hard drive.

I have tried to press enter when the Boot from CD message displays but to no avail.

Interestingly, when I went into gparted to check that I had it set to FAT32, it reports that the flag is boot. Also it sees it as sdc not sdg. Is this part of the problem, do you think?

I hope this is enough info.

Caddi

Just gone into unetbootin again and it now says sdc1? I don't know why!

Last edited by caddi fuller-Teabags; 10-04-2010 at 03:45 PM. Reason: strange bit of text appearing at the bottom. also new info
 
Old 10-04-2010, 04:00 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
First I would try to boot from USB-HDD or Removable, not USB-CDROM. If that does not work, boot into your OS and and run, as root fdisk -l and post the output here.
 
Old 10-04-2010, 04:01 PM   #11
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
My way of making boot USB keys:
Code:
sudo -s
mkfs -t vfat -I /dev/sdb (or whatever block device your key is in)
mkdir /media/DVDROM
mkdir /media/USB
mount -t iso9660 -o loop </path/to/image.iso> /media/DVDROM
mount -t vfat /dev/sdb /media/USB
cp -a /media/DVDROM/* /media/USB
(if it's an ubuntu-based iso) cp -a /media/DVDROM/.disk /media/USB
mv /media/USB/isolinux /media/USB/syslinux
mv /media/USB/syslinux/isolinux.cfg /media/USB/syslinux/syslinux.cfg
(for ubuntu sticks go to text.cfg or txt.cfg in the syslinux folder and change file=/cdrom/preseed to file=preseed)
umount /dev/sdb
syslinux -d syslinux /dev/sdb
exit
It has so far worked perfectly every time.
 
Old 10-04-2010, 04:37 PM   #12
caddi fuller-Teabags
LQ Newbie
 
Registered: Nov 2007
Location: NW England, on the coast
Distribution: Mint (daryna and celena)
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TobiSGD View Post
First I would try to boot from USB-HDD or Removable, not USB-CDROM. If that does not work, boot into your OS and and run, as root fdisk -l and post the output here.
No option to boot from USB-hdd, USB-fdd or USB-zip.

ouput from fdisk-l

# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x09230922

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5809 46660761 7 HPFS/NTFS
/dev/sda3 5810 19457 109627498 5 Extended
/dev/sda5 19270 19457 1510078+ 82 Linux swap / Solaris
/dev/sda6 5810 7025 9767457 83 Linux
/dev/sda7 7026 19269 98349898+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 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: 0xb7bd84ab

Device Boot Start End Blocks Id System
/dev/sdb1 1 304 2441848+ 83 Linux
/dev/sdb2 305 428 996030 82 Linux swap / Solaris
/dev/sdb3 429 14946 116615835 83 Linux

Disk /dev/sdc: 2002 MB, 2002780160 bytes
62 heads, 62 sectors/track, 1017 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002a835

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 1017 1954643 b W95 FAT32



Make of that what you will. Vienna!
Caddi
 
Old 10-04-2010, 06:04 PM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
OK, you installed your files with unetbootin to sdg1 but your USB-stick is sdc.
Do you have a cardreader with inserted media or something?
Can you change the install-medium to sdc1 in unetbootin?
 
Old 10-05-2010, 01:26 AM   #14
caddi fuller-Teabags
LQ Newbie
 
Registered: Nov 2007
Location: NW England, on the coast
Distribution: Mint (daryna and celena)
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TobiSGD View Post
OK, you installed your files with unetbootin to sdg1 but your USB-stick is sdc.
Do you have a cardreader with inserted media or something?
Can you change the install-medium to sdc1 in unetbootin?
Thank you. There is no option to change the install medium. It went to sdc this time.

I removed all my other USB devices (barring mouse and keyboard) so USB is now definitely sdc. Redid the same procedure - still no joy.
 
Old 10-05-2010, 05:06 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Sorry, then I have no idea anymore.
 
  


Reply



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
installing 12.2 on netbook - usb hd ngc457 Slackware 9 03-21-2010 08:54 AM
Installing to USB HDD Reverence Puppy 2 08-26-2007 03:56 AM
Installing to an external usb hdd wu_ Slackware - Installation 1 11-11-2006 01:14 AM
Installing On USB HDD montyw Linux - Newbie 11 09-03-2006 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 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