LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2016, 09:18 AM   #1
chinmaya5
LQ Newbie
 
Registered: Jun 2014
Posts: 17

Rep: Reputation: Disabled
Unhappy cant boot ubuntu


i had a dual boot of windows 7 and 8. i uses windows 8 most of the time and wanted to give ubuntu 16.04 lts a try so i backed up data where my windows 7 was installed i.e. sda 3 partition. as i dont of the dvd of ubuntu so i used unetbootin to install ubuntu and the files from the image into the windows 8 partition and made a reboot to install. i did intall ubuntu in sda 3 partiton and rebooted when to choose from the os option i didnt see any ubuntu option and when i choose unetbootin i encountered with this message
try hd 0,0 ntfs unetbootin
try hd 0,1 fat32 unetbootin
try hd 0,2 ext _
and window 7 option is also shown in the os selection menu even after it has been overwritten by ubuntu. what to do?

Last edited by chinmaya5; 10-25-2016 at 09:22 AM.
 
Old 10-25-2016, 09:42 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 6,312
Blog Entries: 21

Rep: Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167Reputation: 3167
Just wondering. Why not try using a Ubuntu 16.04 persistent usb instead?

https://wiki.ubuntu.com/LiveUsbPendrivePersistentL

Edit: Just learned about a unetbootin bug

Quote:
Creating a bootable Ubuntu USB flash drive from Windows

Prepare the USB stick

You won't be able to select the USB stick if it wasn't formatted in a way that Windows can see it. You may have to format it using Windows Explorer in order for it to show up in a creator tool.

Ubuntu's official recommendation

Ubuntu recommends Rufus 2016-08-06 at http://www.ubuntu.com/download/deskt...ick-on-windows

Linux Live Usb Creator

Download and use Linux Live Usb Creator.

Once you have usb-creator.exe, run it and follow the same steps as described for Linux (point it at your .iso file or your Ubuntu CD-ROM, point it at your USB flash drive, make sure you have the right device selected, then "Make Startup Disk").

Unetbootin

If you're using UEFI, do not currently use Unetbootin with Debian iso files due to a bug.


Download and use Unetbootin for Windows.

Run the file, select an ISO file or a distribution to download, select a target drive (USB drive or Hard Disk), select persistence if you wish, then reboot once done. If your USB drive doesn't show up, reformat it as FAT32.
from

https://help.ubuntu.com/community/In...n/FromUSBStick

2nd edit: here is the bug report

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=775689

Quote:
Hi I'm the maintainer of unetbootin, I just stumbled upon this bug report,
sorry you have been having issues. The underlying issue appears to be that
some of Debian's ISO files violate the Joilet standard - the standard does
not permit filenames exceeding 64 characters in length, as you can see at
https://en.wikipedia.org/wiki/Joliet_(file_system) . Hence any tool for
processing ISO files which follows the Joilet standard, like 7-zip (which
is used by unetbootin), will have undefined behavior when dealing with such
files (in the case of 7-zip it truncates the filenames to 64 characters).
The upstream report for 7-zip is at
https://sourceforge.net/p/sevenzip/bugs/1055/ but unetbootin is not the
only tool dealing with ISO files that relies on 7-zip (or other tools that
expect Joilet-compliant ISO files), so a solution might be to just respect
the 64-character limit for filenames in ISO files.

Last edited by rokytnji; 10-25-2016 at 10:01 AM. Reason: new info
 
Old 10-25-2016, 01:16 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,430

Rep: Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090
Your post is confusing. You indicate you have windows 7 and 8 installed and wanted to keep 8 so you backed up the data on the windows 7 partition. You later say " i used unetbootin to install ubuntu and the files from the image into the windows 8 partition"?? Did you do a "fugal install" which is putting the unetbootin created system on a harddrive partition? Unetbootin is generally used to create a bootable flash drive from which you can then boot and install. If you did a frugal install, when you reboot you should see "unetbootin" in the menu and be able to boot it to begin the install.

Or would you possible be using WUBI. It's not likely to work.

Was your windows system using UEFI and did you boot and install Ubuntu using UEFI. Some info at the link below.

https://help.ubuntu.com/community/UEFI
 
1 members found this post helpful.
Old 10-25-2016, 04:06 PM   #4
chinmaya5
LQ Newbie
 
Registered: Jun 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
im sorry for being inarticulate. i backed up data from windows 7 to other partition. and yes it was a fugal install into my windows 8 partition and i did see unetbootin in the boot menu. the problem is that even after installing ubuntu in the windows 7 partition why windows 7 option is being shown in the bootloader menu. if i select that it start system recovery process and well that never succeeds. there is no ubuntu option available in bootloader menu. if i select unetbootin, the error message is shown that i stated earlier. and its not a wubi installer. i did install it again through wubi after posting my question to try out some options. i downloaded wubi separately from interent and intsalled it. now i do see ubuntu option in the windows 8 bootloader menu. after selecting ubuntu it directs me to grub bootloader menu.
the first option "ubuntu" gets me to the fresh ubuntu that i installed through wubi. the 2nd option of "ubuntu /dev/sda3" directs me to the previous ubuntu os that i installed on the windows 7 partition. now how should i uniinstall this fresh one by keeping the older one in use. i am afraid that uninstalling the fresh Ubuntu though windows 8 will erase the the ubuntu option from windows 8 bootloader.
 
Old 10-25-2016, 05:02 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,430

Rep: Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090
I expect you still see the windows 7 recovery because it was originally installed and still has a separate recovery partition.
When you installed or updated to windows 8, did you use UEFI or the older MBR to boot?

The WUBI installer hasn't been supported for several years and probably won't work well if at all. If you want to remove it, that is explained at their site at the link below, about half way down the page.

https://wiki.ubuntu.com/WubiGuide

In order to give specific advice on your situation, you would need to post more specific and detailed information. The best way to get that is to get the boot repair software, either by booting Ubuntu (if you can) or downloading it on windows and burning it as an image to a CD and running it. You need to select the Create BootInfo Summary option so it outputs information. Don't try to make any changes but post a link to the output that you get after running it. This is needed so we can see your boot files and the type of boot (UEFI or MBR) as well as many other details.

https://help.ubuntu.com/community/Boot-Repair
 
Old 10-26-2016, 01:10 AM   #6
chinmaya5
LQ Newbie
 
Registered: Jun 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
i checkd it by ruuning msinfo 32 and got to know that it is a "legacy" boot mode used in windows 8. now i am able to access ubuntu that i installed through wubi and as well as the one i installed through unetbootin. now i can only access ubuntu which i installed through unetbootin if i get into grub bootloader. now i dont want both ubuntu installation. i just want the one which i installed through unetbootin. so if i uninstall the ubuntu through wubi from windows 8 i might lose the ubuntu option that i am seeing in windows 8 bootloader. this will result to the same situation where i can only choose windows 8 and nothing else. from my point of view i think the wubi installation of ubuntu provides the grub bootloader option to choose but the unetbootin option isnt giving the bootloader option during boot. so if u can tell me how to make the bootloader of ubuntu to boot after reboot.
 
Old 10-27-2016, 04:38 AM   #7
chinmaya5
LQ Newbie
 
Registered: Jun 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
if im not bothering u much yancek i was expecting that u might come up the explanation of my situation
 
Old 10-27-2016, 06:19 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,430

Rep: Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090
Run the boot repair software I suggested in my last post and select the Create Bootinfo summary option. Do not try to make any repairs. Post a link to the output here so we have more detailed information.

If you are using an MBR install, you may be able to simply install grub to the MBR of the drive and update-grub from the unetbootin install which is apparently on it's own partition. If you do this, it will overwrite the windows code on your install so if you decide to go back to just windows, you will need a windows disk of some kind to replace that code. Without the boot repair output, that's just a guess so best to run it and post the output.

Last edited by yancek; 10-27-2016 at 06:21 AM.
 
Old 10-28-2016, 01:03 AM   #9
chinmaya5
LQ Newbie
 
Registered: Jun 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
thanks a lot vancek ur suggestion really worked. that tool "boot repair" corrected the record in mbr as per my need and now i can see the grub bootloader menu. thanks a lot
 
  


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
Ubuntu/Windows8 dual boot - Ubuntu won't boot anymore LemonyLite Linux - Newbie 6 05-17-2014 07:15 AM
Boot Ubuntu 14.04 64bit with greyed out Secure Boot disable option in BIOS? hanspeterii Linux - Newbie 9 05-04-2014 02:32 PM
How to make XP boot as default OS in WinXP-Ubuntu dual boot system svin Ubuntu 14 11-04-2009 04:49 PM
Dual boot: Ubuntu 8.04 and XP. XP won't boot now - loops back to Ubuntu Slowbey Linux - Newbie 9 01-05-2009 02:44 AM
Changing default boot OS back to Ubuntu without being able to boot Ubuntu revenge02 Linux - Newbie 5 04-16-2007 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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