LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-31-2015, 07:18 AM   #1
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Rep: Reputation: Disabled
New to Linux. Tried installing Xubuntu 15.10 alongside Windows 10 and messed up partitions.


So I tried installing 15.10 from a bootable USB. I'm actually using it right now to post this. I left the partition slider on the default setting. The installation failed. I did a check of the USB stick and the check finished with 3 errors. I rebooted with Windows 10, everything is fine, except for now I have 300 gigs of my 1TB HD partitioned for Xubuntu, which won't work unless I boot from the USB stick. I'm sure I could just delete the 300GB partition? But I do still want to get Xubuntu installed alongside Windows 10. Not really sure what to do. If it helps at all, when I open the drive volume from the desktop in Xunbuntu, it shows all the files for Xunbuntu, but has X's on the initrd.img, vmlinuz, and root folder icons. Any help would be greatly appreciated!
 
Old 01-01-2016, 05:55 AM   #2
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836
here's what you do:
fire up the live usb. hopefully it has an app called "gparted", if not, you can install it.
start it (requires superuser privileges. should ask you automatically).
delete the 300GB partition with the borked install, so it becomes "unallocated space".
to be on the safe side, reboot.
start installing. you should (iirc) now have an option to "install xubuntu into unallocated hard drive space" or such.

some installers don't differentiate between the usb stick and your hard drive, so be careful that you install everything (including the grub bootloader) to the proper drive (this is usually sda).

Last edited by ondoho; 01-01-2016 at 05:56 AM.
 
Old 01-01-2016, 01:32 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Is windows 10 installed using UEFI? GPT partitioning? Did you install Xubuntu UEFI. The link below might explain some problems.

https://help.ubuntu.com/community/UEFI
 
Old 01-01-2016, 06:40 PM   #4
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
I read through the page you linked, and while I understand the basic concept of both OSs having to be either Legacy or UEIF in unison, but most of the terminology in that article is a little over my head. I don't know where to begin to find out which mode Windows 10 is in or how to choose to install Xubuntu in either mode.
 
Old 01-01-2016, 06:42 PM   #5
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
here's what you do:
fire up the live usb. hopefully it has an app called "gparted", if not, you can install it.
start it (requires superuser privileges. should ask you automatically).
delete the 300GB partition with the borked install, so it becomes "unallocated space".
to be on the safe side, reboot.
start installing. you should (iirc) now have an option to "install xubuntu into unallocated hard drive space" or such.

some installers don't differentiate between the usb stick and your hard drive, so be careful that you install everything (including the grub bootloader) to the proper drive (this is usually sda).
I do have Gparted installed, but even if I do this and try the install again won't the errors still be present? Is it possible it's a problem with the ISO file? I downloaded it from the official source. Also, when I select the partition delete is not an option. I can move/resize it but can't delete it?

Last edited by sunsetpig; 01-01-2016 at 06:44 PM.
 
Old 01-01-2016, 06:59 PM   #6
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,904

Rep: Reputation: 261Reputation: 261Reputation: 261
If you go into the bios boot, is there a listing for Ubuntu and if so will it boot if selected? Is there a partition about 200-300MB that is tagged EFI and if so what directories and sub directories are on it.

Quote:
I don't know where to begin to find out which mode Windows 10 is in or how to choose to install Xubuntu in either mode.
More then likely they are both installed in uefi mode unless you went into the bios and changed something.

Last edited by colorpurple21859; 01-01-2016 at 07:03 PM.
 
Old 01-01-2016, 07:25 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
You should be able to use GParted from the xubuntu install medium to check to see if you have an EFI partition. To get a lot of detailed information, you can download the boot repair iso from the site below and burn it as an image to a CD, boot it and select the option to "Create BootInfo Summary" and post a link to the output here. Don't try to make any repairs.

https://help.ubuntu.com/community/Boot-Repair
 
Old 01-01-2016, 09:01 PM   #8
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
If you go into the bios boot, is there a listing for Ubuntu and if so will it boot if selected? Is there a partition about 200-300MB that is tagged EFI and if so what directories and sub directories are on it.

More then likely they are both installed in uefi mode unless you went into the bios and changed something.
I didn't see anything in the bios boot menu about Ubuntu. It just shows my HDD, the USB flash drive, CD-ROM, etc.

Here is a screen cap of my partitions in GParted.

http://i.imgur.com/WWfz3y6.png
 
Old 01-01-2016, 09:11 PM   #9
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
You should be able to use GParted from the xubuntu install medium to check to see if you have an EFI partition. To get a lot of detailed information, you can download the boot repair iso from the site below and burn it as an image to a CD, boot it and select the option to "Create BootInfo Summary" and post a link to the output here. Don't try to make any repairs.

https://help.ubuntu.com/community/Boot-Repair
http://paste.ubuntu.com/14365124/
 
Old 01-03-2016, 01:20 AM   #10
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Don't know if it just got lost in the mix or whatever but here is my Boot Info Summary: http://paste.ubuntu.com/14365124/
 
Old 01-03-2016, 06:51 AM   #11
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836
i hate those bootinfo outputs.
if someone requests 7 pages of output from you, they're the one that should sift it through.
i prefer to pipe commands through grep.

anyhow, gparted has been suggested twice now.
have you tried it? what did you find out?
 
Old 01-03-2016, 09:52 AM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
i hate those bootinfo outputs.
The bootinfoscripts are probably the most valuable tool available to determine problems in booting. Obviously, most new users like the OP won't know what to do with it any more than s/he will know pipe anything with the grep command.

The reason you can't boot Xubuntu is that you did not install the Xubuntu Grub bootloader. Looking at the bootinfoscript, at the very top of the page, you can see that you have windows boot code in the MBR. The problem with that is that a default windows install is totally incapable of booting any Linux system. Not because they are incapable but simply a business decision. There is third party software but using the Grub bootloader is usually simpler. You will also see there is no EFI partition. That was also shown in the GParted image in your earlier post.

Another problem when you were running the bootinfoscript was that you had windows hibernated. That always creates problems and you won't be able to mount or access windows partitions from Xubuntu but will see the message that is repeated in the bootinfo output, "windows is in an unsafe state please resume and shut down fully". Windows 8 uses hibernation when shut down and that is the default so you need to turn off all the hibernation options, fastboot or anything related to it or you will not be able to access windows after installing Xubuntu or Linux.

Also, last but not least, you do NOT have any bootloader installed in Xubuntu. If you look on sda5 near the top of the page, no boot files are shown. If you scroll down the page, you will see a grub.cfg file (the Grub boot menu) for sdb1 which is the flash drive not the hard drive. That means you didn't install the bootloader for Xubuntu.

Simplest solution is to just reinstall Xubuntu and make sure you install in MBR mode and NOT EFI as you have windows MBR. Make sure you select to install the bootloader to /dev/sda which is the MBR. You have a swap partition on sda6 so you won't need to create that again during the install. Your partial Xubuntu install is on sda5 so install again to that partition and make sure you do not touch the windows partitions, sda1, sda2 and sda3.

You have two options. Install Grub2 as explained in the link below using one of the options under Fixing a broken system. Note that there is an option to use boot repair which you already have.

https://help.ubuntu.com/community/Gr..._Broken_System

If you choose to reinstall, read through the link below on how to install Ubuntu. Xubuntu uses the same installer so everything should be the same. Scroll about half way down the page to the section, Installation Step by Step. The page has a lot of valuable information on Linux filesystems and partitioning which will be useful to read also.

https://help.ubuntu.com/community/Gr..._Broken_System

You need to make sure you boot the installation medium in MBR mode which would be whatever you did last time. I don't use UEFI myself so the best I can do is point you to the Ubuntu site which gives an explanation of it under the section "General Principles" at the link below.

https://help.ubuntu.com/community/UEFI

Last edited by yancek; 01-03-2016 at 09:56 AM.
 
Old 01-03-2016, 09:43 PM   #13
sunsetpig
LQ Newbie
 
Registered: Dec 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you for the help and I think I'm on the right track here, but how to I install the bootloader?

EDIT: Sorry, that's explained in the link you provided.

Last edited by sunsetpig; 01-03-2016 at 09:46 PM.
 
Old 01-04-2016, 10:09 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
There are several method to install the bootloader using the Xubuntu installation medium which are explained at the Ubuntu site, the first link in my last post. It also has an explanation on how to use the boot repair software from the CD which you already have.
 
  


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
[SOLVED] Installing Linux Alongside Windows 8 (For now) Question sNiPiCk Linux - Newbie 47 02-10-2015 03:34 AM
[SOLVED] Installing ubuntu 11.10 alongside windows prob seeing partitions Stev8 Ubuntu 17 03-07-2012 08:14 PM
Installing Windows alongside Linux The Show Linux - Newbie 4 02-26-2006 10:05 AM
Installing Linux alongside Windows? stuartguthrieuk Linux - Software 3 09-28-2004 12:43 AM


All times are GMT -5. The time now is 02:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration