LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-22-2017, 05:36 PM   #1
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Rep: Reputation: Disabled
Ubuntu 16.10 dual boot with Windows 10


Hello
I have two hard drives on my computer.
I have had a Windows 10 and Ubuntu 16.10 as a dual boot architecture.
I turned on my computer after a long weekend and got a grub error message that it could not read outside of Hd0
So I tried installing Windows 16 10 from the CD had the same error message. So I installed Ubuntu 14 10 to a blank partition on my second hard drive. I got the same error message then I reinstalled grub to Hd0. I just went to the Linux recovery and ran the command
grub-install /Hd0
and then I got a different error message that said
Error reading outside of hd0
Install the kernel first

Any input would be greatly appreciated... I am trying to reinstall I will update this post ASAP.

Last edited by Stev8; 02-24-2017 at 04:02 PM.
 
Old 02-22-2017, 05:40 PM   #2
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Ubuntu 14 10 dual boot with Windows 10

sorry I meant I installed grub to HDA not hd0
 
Old 02-22-2017, 05:56 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
It would be very strange to have something like this happen without any changes made to the system. Did you do any kind of updates prior to shutting down? If so, what and on windows or Ubuntu? Were you using UEFI or MBR for the installs? More information will probably be needed and the best way to get that is with the boot repair software. You can download it and burn it to a CD or install it on the Ubuntu installation DVD/flash drive per instructions at their site. Just select the option to Create BootInfo Summary.

https://help.ubuntu.com/community/Boot-Repair
 
Old 02-22-2017, 06:08 PM   #4
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Ubuntu 14 10 dual boot with Windows 10

hello
Thank you for your input.
I had not installed any updates on either windows or Ubuntu. but I did use gparted reconfigure the partitions on my secondary hard drive before this happen.
I was trying to reinstall when you reply to me but I guess it froze so I have stopped it and restarting it now.
I do not know if I'm using eat UEFI or MBR but I assume I am using MBR.
Once I finish a reinstall I will download the grub repair CD and post my results to you I should have this done by tomorrow.

Last edited by Stev8; 02-23-2017 at 08:12 AM.
 
Old 02-22-2017, 06:32 PM   #5
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Ubuntu 14 10 dual boot with Windows 10

I did not explain that correctly I came back from my weekend and I had that error message. so I decided to reload Windows 7 I have not completed the update yet to Windows 10. I also decided to reinstall Ubuntu. I will post again tomorrow with my details. now that you got me thinking about UEFI I will try pulling the battery in my bios. as I know that has to do with UEFI to.
 
Old 02-22-2017, 08:51 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Some information on dual booting Ubuntu and windows 10 uefi at the link below. If you had windows 10 on the computer, it was probably UEFI. If your windows 10 was an update from windows 7, it might be an MBR boot. Can't tell without more information.

https://help.ubuntu.com/community/UEFI
 
Old 02-22-2017, 11:39 PM   #7
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
If you got the message after changing partitions, you might have to delete your extended and logical partitions, and re-create them. That is generally the source of a message like that.
Post the result of
Code:
sudo parted --list
 
Old 02-23-2017, 06:36 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
I did use gparted reconfigure the partitions on my secondary hard drive before this happen.
Which is almost certainly the source of the problem. Since we don't know what you had before, what you changed or what you have now, we would just be guessing without more information. UEFI/GPT or the old MBR? Original windows 7 upgraded to 10? Pre-installed 10? Which drive was Ubuntu on, internal or external?
 
Old 02-23-2017, 08:21 AM   #9
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
I have solved my issue.
I realized after you told me about UEFI that my BIOS utilizes this to communicate with all devices. So I simply deleted all the partitions of Ubuntu as I realized it would be poisonous. I pulled the battery on my BIOS and reinstalled, after several attempts this seemed to work. Once I booted into Ubuntu 16.10. I wanted to make sure the grub was up-to-date. So I went into terminal and ran the following commands.
Sudo grub-update
Grub-install /dev/SDA
after this my issue is resolved. Thank you for your help. I now have a dual boot system with Windows 7 on the first hard drive and Ubuntu on the second hard drive.

Last edited by Stev8; 02-23-2017 at 08:22 AM.
 
Old 02-23-2017, 09:40 AM   #10
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Hello
It seems my issue has come back to bite me in the you-know-what. Now whenever I try to boot into Ubuntu it says unable to read outside of HD1. When I try to boot into Ubuntu it says kernel panic not syncing VFS unable to mount FS unknown block 0-0. I don't get it it was working last night and this morning.
The only thing I did was install a bit of software and updates to Windows 7 on my first hard drive.
Any help would be greatly appreciated on this convoluted issue.

Last edited by Stev8; 02-23-2017 at 09:47 AM.
 
Old 02-23-2017, 10:51 AM   #11
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Ubuntu 16. 10 dual boot with Windows 10 Ubuntu 1610 dual boot with Windows 7

lo and behold I pulled my BIOS battery and Ubuntu booted. I don't know how long this will last. I'm assuming I will turn it on one day and get the same error message it has to do with my BIOS and I don't know why. any input would be greatly appreciated.

Every time I do a Windows update my MBR gets screwed with any idea of why

Last edited by Stev8; 02-23-2017 at 03:55 PM.
 
Old 02-23-2017, 07:02 PM   #12
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
TxLonghorn

my results of
sudo parted --list

are

Model: ATA M4-CT128M4SSD2 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 82.8GB 82.7GB primary ntfs
3 82.8GB 83.2GB 472MB primary ntfs diag
4 83.2GB 128GB 44.7GB primary ntfs


Model: ATA TOSHIBA DT01ACA1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
2 1048kB 262GB 262GB extended
6 1049kB 254GB 254GB logical ext4
5 254GB 262GB 8490MB logical linux-swap(v1)
1 262GB 1000GB 738GB primary ntfs


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Model: HL-DT-ST DVDRAM GH24NS95 (scsi)
Disk /dev/sr0: 627MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:

Last edited by Stev8; 02-23-2017 at 07:08 PM.
 
Old 02-24-2017, 06:25 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The information you posted in your last post shows you have an MBR system and windows (7? 10?) on the smaller drive and Ubuntu on the larger. I think the best next step would be to go to the site below and either download and burn to a CD the boot repair software or download it to the Ubuntu system (if you can boot it). After doing that, run it and only select the Create BootInfo Summary option and post a link to the output here. Don't try any repairs. This should provide enough information for someone to make a practical suggestion to resolve your problem.

https://help.ubuntu.com/community/Boot-Repair
 
Old 02-24-2017, 09:01 AM   #14
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Hi Yanek
Yes I'll do that this afternoon I just burnt the CD last night.
.
 
Old 02-24-2017, 03:17 PM   #15
Stev8
Member
 
Registered: Mar 2012
Location: Hamilton, Ontario
Distribution: Ubuntu 17.10 64 bit
Posts: 113

Original Poster
Rep: Reputation: Disabled
Hi,

I used boot repair to create a boot summary at pastebin url of http://paste2.org/cYM857Eg

Maybe everything is working now as my stem boots fine right now.

Any input would be greatly appreciated

Last edited by Stev8; 02-24-2017 at 03:20 PM.
 
  


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
Ubuntu Linux & Windows 7 - Dual Boot or just use Windows in a Virtual Machine? spinnerette Linux - Newbie 29 06-29-2013 08:19 AM
Unable to create dual boot (Ubuntu 12.04 / Windows 7). Windows 7 won't start. J_angel2000 Linux - Desktop 2 04-17-2013 10:50 PM
Losing Windows boot on dual boot Windows/Ubuntu machine windows22 Linux - Newbie 32 08-30-2010 09:54 PM
Want to upgrade Windows Vista to Windows 7 on a Dual Boot machine Ubuntu/Winvista. hector3rd Linux - Desktop 6 08-07-2010 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:50 AM.

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