You are not logged in.

#1 2016-06-20 15:21:05

watty88
Member
Registered: 2016-06-19
Posts: 8

Problems with booting Arch after installation

Hi! I Decided to learn Linux in details (only couple of months of experience on Ubuntu) and my experienced colleagues suggested me Arch as a good learning platform if I want to get deeper understanding. However, I faced a problem which google and wiki scrolling couldn't help me to solve.

I installed the system on my E560 ThinkPad (BIOS) following step by step instructions in WIKI (using bootable USB), but not able to boot it. Installation was done on the separate partition (I have 2 more with Ubuntu and Windows 10)

I think that problem appeared on cfdisk stage where I have to put bootable flag on selected partition.  The thing is that I couldn't find an option of how I can do it. I tried videos on yt, people there just press 'b' or select bootable option om the desired drive partition, which is linux filesystem. I tried MBR, EFI and Linux extended boot. But none of them worked either. For each option I was installing from scratch.

My second guess is that the problem might be because of the grub I downloaded during installation conflicts with grub2 which is already installed for Ubuntu and loads by default when computer starts.

Thanks in advance!

Last edited by watty88 (2016-06-20 15:57:18)

Offline

#2 2016-06-20 15:27:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Problems with booting Arch after installation

First things first, figure out if you have a BIOS or a UEFI system.

Offline

#3 2016-06-20 15:29:17

watty88
Member
Registered: 2016-06-19
Posts: 8

Re: Problems with booting Arch after installation

Scimmia wrote:

First things first, figure out if you have a BIOS or a UEFI system.

it is BIOS

Offline

#4 2016-06-20 15:53:06

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Problems with booting Arch after installation

Is any bootlader loaded if you power on the machine? If so which?

Offline

#5 2016-06-20 15:55:19

watty88
Member
Registered: 2016-06-19
Posts: 8

Re: Problems with booting Arch after installation

mis wrote:

Is any bootlader loaded if you power on the machine? If so which?

Yes. By default it is grub2

Last edited by watty88 (2016-06-20 15:56:53)

Offline

#6 2016-06-20 15:57:55

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Problems with booting Arch after installation

Is it grub2 from ubuntu or the one you installed with arch?

Offline

#7 2016-06-20 16:02:00

watty88
Member
Registered: 2016-06-19
Posts: 8

Re: Problems with booting Arch after installation

mis wrote:

Is it grub2 from ubuntu or the one you installed with arch?

For Ubuntu. With arch I installed grub.

Offline

#8 2016-06-20 16:03:32

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Problems with booting Arch after installation

If you're happy to keep Ubuntu's grub then you don't need to install a seperate bootloader for Arch, just let Ubuntu's handle everything.

Once you've installed Arch just boot Ubuntu and update it's bootloader to detect your Arch install. It's been a while since I've used Ubuntu but I think you just run...

sudo update-grub

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2016-06-20 17:04:36

watty88
Member
Registered: 2016-06-19
Posts: 8

Re: Problems with booting Arch after installation

That Worked! But now when I boot,  I think  because of my playing with partition type,  I am dropped to recovery shell with the following errors:

ERROR: Device 'UUID=ad4103fa-d940-47ca-8506-301d8071d467'
ERROR: Unable to find root device 'UUID=ad4103fa-d940-47ca-8506-301d8071d467'. 
You are being dropped to a recovery shell
Type exit to try and continue booting
sh: can't access tty; job control turned off

I tried remounting but typing

 mount /dev/sda6 /mnt

Last edited by watty88 (2016-06-21 05:33:58)

Offline

#10 2016-06-20 17:19:47

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Problems with booting Arch after installation

So booting ubuntu and running update-grub from there worked, and you see an entry for Arch in the bootloader menu now?

When exactly do you get the error? If you try to boot the Arch entry?

Last edited by mis (2016-06-20 17:20:05)

Offline

#11 2016-06-20 17:31:24

watty88
Member
Registered: 2016-06-19
Posts: 8

Re: Problems with booting Arch after installation

mis wrote:

So booting ubuntu and running update-grub from there worked, and you see an entry for Arch in the bootloader menu now?

When exactly do you get the error? If you try to boot the Arch entry?

After choosing arch in grub

Offline

#12 2016-06-20 19:05:06

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Problems with booting Arch after installation

watty88 wrote:

ERROR: Device 'UUID=ad4103fa-d940-47ca-8506-301d8071d467'
ERROR: Unable to find root device 'UUID=ad4103fa-d940-47ca-8506-301d8071d467'.
You are being dropped to a recovery shell
Type exit to try and continue booting
sh: can't access tty; job control turned off

Seems the UUID for the Arch root partition in the grub.cfg file does not match the UUID the partition actually has.
Normaly the 'update-grub' command on ubuntu should have written a vaild grub.cfg. Were there any error message?

Offline

#13 2016-06-20 19:09:07

watty88
Member
Registered: 2016-06-19
Posts: 8

Re: Problems with booting Arch after installation

Seems the UUID for the Arch root partition in the grub.cfg file does not match the UUID the partition actually has.
Normaly the 'update-grub' command on ubuntu should have written a vaild grub.cfg. Were there any error message?

No. Upon booting arch from grub it is the only error that occurs

Offline

Board footer

Powered by FluxBB