Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got a problem with installing Ubuntu on Pendrive.

Steps I made:

  1. Downloaded ISO from Ubuntu site.
  2. Burn it on DVD.
  3. Run PC from the DVD (pendrive is plugged in).
  4. Followed instruction on the screen.
  5. During partitioning phrase select SDB (Pendrive), create partition, select mountpoint to / and install GRUB on SDB.
  6. Wait for installation to complete.
  7. Reboot PC, and remove DVD from drive.

Now my PC displays information: No operating system were found, and then my Windows is starting up normally. Pendrive is of course plugged in and boot order is set to:

  • DVD
  • Pendrive
  • Network
  • HDD

Any suggestions?

PS: Pendrive: A-data S102 32GB USB3.0

share|improve this question
it seems you installed boot loader on partition. Try to install GRUB On Hardisk – BigSack Aug 21 '12 at 9:30
I tried both ways. Firstly I installed GRUB on sbd (named as A-data USB drive 3.0) and then on sdb1. Results are the same. Ubuntu does not start. Bot priority is set correctly - I am sure about it. – Grzegorz K Aug 21 '12 at 9:32

4 Answers

Only a suggestion, you can use a a live usb instead. this is done with a tool of your choice from here and then just use the windows boot manager instead of GRUB. The tool will repartition it by the size of the persistent file you make essentially, so if u want 16 GB for general use and 16 GB for Linux, just set the persistent to 15360MB(15GB for you need 1GB for Linux system files). then in boot manager just hold down whatever button you used to boot of the disc and slect your drive whenever you want to use linux. let me know if that answered your question.

share|improve this answer
Hi Boi, I dont want to use live USB I want to install Ubuntu on my USB drive :) – Grzegorz K Aug 21 '12 at 8:54
there is almost no difference, but if you are dead set on this, then thats not how it goes for GRUB is a bootmanager, a boot manager needs to be in the computer at all times or else it doesn't work, soi think its either live usb or no usb sorry. – Boi Aug 21 '12 at 9:18
I cannot install GROUB on my hard disc because I have got installed Windows 7 which is encrypted using TrueCrypt. It uses its own boot manager, so it cannot be replaced with Grub. – Grzegorz K Aug 21 '12 at 9:34
well grub is meant to be on hard disk and I would be very suprised if you can get it on a mem stick. i have grub as my boot manager for my linux and windows and it works fine for me. – Boi Aug 21 '12 at 10:06
Yes I know. Some time ago I got the same situation on my HDD, but I was forced to implement encryption so Linux was removed. Now I want to get it back on my mem stick. – Grzegorz K Aug 21 '12 at 10:11

Looks like you are trying to create a bootable usb disk (from which you can boot your machine into live ubuntu session). There is a comprehensive guide available for the same here.

For this you need a working ubuntu system and ISO image of ubuntu version you want to create bootable disk.

Steps are pretty easy:

  • Insert a USB stick with at least 2GB of free space.
  • Open application Startup Disk Creator.
  • choose the downloaded ISO file.
  • If the disk is not formatted already then choose format and then Select the USB stick in the bottom box and click 'Make Startup Disk'.

That's it! When the process completes, you'll be ready to restart your computer and boot with your Pen Drive in your preferred ubuntu version.

share|improve this answer
Hi Amos Sale, no I do't want to prepare live pendrive. I want to install ubuntu on pendrive. I don't know what I'm doing wrong. The OS should work because installation was completed without any error and Grub was installed on Pendrive. – Grzegorz K Aug 21 '12 at 9:02

Pen drives and CDs require some files to tell the motherboard that they are bootable, and more files to load the minimal OS necessary to load up the iso file to load Ubuntu, or for that matter command line utilities.

The above using startup disk creator is the easiest way. To boot from the pen drive after installing Ubuntu to it, you must set the BIOS to boot from the Pendrive. Older machines may not have this option.

share|improve this answer
Let me clarify. I have installed Ubuntu on mem stick, but it does not boot. Now, if I use startup disc creator then my linux will boot normaly like from HDD? If yes then please tell me something more about the process of preparing pendrive. I really want to get it done ;-) Thanks in advance – Grzegorz K Aug 21 '12 at 18:42

watch out, this may the case why your USB device is not bootable.

Maybe try repartitioning the USB stick?
Did you partition it yourself or left the MBR as it was before install?

In my honest opinion installing livecd on the USB with the startup creator, then burning down the partitions and install

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.