Ask Your Question
1

After installing from live-usb, fedora26 does not boot :(

asked 2017-11-06 13:24:00 -0500

tyberiak gravatar image

updated 2017-11-07 01:52:32 -0500

Hello, I am a beginner user ... I am using Ubuntu 16.04, but I have one free disk and I decided to install fedora26 for a change ... after a successful installation and reboot gets an error message : "error: attempt to read or write outside of disk 'hd0' Entering rescue mode..." I will add also Ubuntu is installed on sda (Sata1 ST3320820AS_Q), and fedora26 was supposed to be on sdb (Sata 2 SAMSUNG HD753LJ).
The disk was previously Windows 7, practically not used

tyberiak@tyberiak:~$ sudo fdisk -l
[sudo] hasło użytkownika tyberiak: 
Disk /dev/sda: 298,1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000d509e

Urządzenie Rozruch     Start    Koniec   Sektory   Size Id Typ
/dev/sda1  *            2048   7813119   7811072   3,7G 82 Linux swap / Solaris
/dev/sda2            7815166 625141759 617326594 294,4G  5 Rozszerzona
/dev/sda5            7815168 234518527 226703360 108,1G 83 Linux
/dev/sda6          234520576 625141759 390621184 186,3G 83 Linux


Disk /dev/sdb: 698,7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x08de4585

Urządzenie Rozruch   Start     Koniec    Sektory   Size Id Typ
/dev/sdb1  *          2048    2099199    2097152     1G 83 Linux
/dev/sdb2          2099200 1465147391 1463048192 697,7G 8e Linux LVM
tyberiak@tyberiak:~$

I apologize for the Polish words :)

So it looks like this: when sata1 (sda) is enabled in the bios it runs ubuntu grub and there's still windows7 option on sdb When I exiting the bios sata1 appears "error: and continue as I wrote earlier" I wish I could insert pictures ...

edit retag flag offensive close merge delete

Comments

OK, I edited your question to put the output into CODE tags for readability. Aside from that, I don't know what Rozszerzona means, but Google Translate tells me it's Extended. It looks like you've completely gotten rid of Windows. However, I still don't know which GRUB you're using to boot.

sideburns gravatar imagesideburns ( 2017-11-06 19:04:38 -0500 )edit

If you run

export LC_ALL=en_US.UTF-8

everything will be in American English until you log out.

villykruse gravatar imagevillykruse ( 2017-11-07 02:53:50 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-11-06 13:59:16 -0500

sideburns gravatar image

Welcome to ask.fedora! First, please understand that all posts by new users must be approved by a moderator before they appear, so there's generally a delay before they show up on the front page. Also, duplicate posts aren't allowed, and will be declined by the moderator, although there's no penalty for this. Just be a tad patient, and somebody will get your posts approved as soon as possible.

That being said, are you still using Ubuntu's GRUB, or are you using one installed by Fedora, because what you'll need to do is different depending on the answer. If you're using Ubuntu's, you're best off asking at the Ubuntu Forum as I'm sure that they get asked this question frequently, and will be able to help you.

If you're using Fedora's, the instructions will be different, of course, and I'm not the best person for that because I've never had to do it myself. However, sdb should be on hd1, which suggests you're using Ubuntu's. Assuming that you can boot Ubuntu, open a terminal and run this command:

sudo fdisk -l

and enter your password when prompted. (The last character is a lower-case L, not a 1.) Then, edit your question to add the output, which will show us what drives you have and how they're partitioned, and we can go from there. Good luck, and if the Ubuntu forum gets you running, please let us know, and don't hesitate to ask more questions as needed, because that's what we're here for.

edit flag offensive delete link more

Comments

Running

grub2-mkconfig -o /boot/grub2/grub.cfg

on Fedora or on Ubunto:

grub-mkconfig -o /boot/grub/grub.cfg

would normally find bootable linux systems on the other disk. The linux system from the other disk will then turn up in the grub menu.

villykruse gravatar imagevillykruse ( 2017-11-07 04:29:33 -0500 )edit

I want to try the ubuntu option (grub-mkconfig -o /boot/grub/grub.cfg), is there any chance that something will go wrong and for example not boot my system? I understand that at the beginning to type sudo? Regards :)

tyberiak gravatar imagetyberiak ( 2017-11-09 01:34:22 -0500 )edit

As long as you do that while booted into Ubuntu, that should work, provided that you're booting from Ubuntu's grub.

sideburns gravatar imagesideburns ( 2017-11-09 02:40:37 -0500 )edit

It is a good idea to keep the live boot medium as a backup just in case.

When updating the Ubunto kernel, the grub-mkconfig will be run to update the grub.cfg file, so grub-mkconfig is very well field tested. Fedora avoids running grub2-mkconfig and will run grubby instead.

I have only done this using two disk, both with Fedora installed, and the grub2 loader on each disk is able to boot the linux from the other disk. I don't have UEFI, and I presume you don't either.

villykruse gravatar imagevillykruse ( 2017-11-09 02:41:29 -0500 )edit

222/5000 The good news is that the option Windows7 has disappeared from the grub menu ... but nothing new has come out, now it's just ubuntu. Is it possible that my live usb is badly made? I used Etcher instead of Media writer.

tyberiak gravatar imagetyberiak ( 2017-11-10 02:43:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-11-06 13:24:00 -0500

Seen: 382 times

Last updated: Nov 07 '17