UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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
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?
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.
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.
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
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.