You are not logged in.

#1 2012-04-28 08:33:26

lettuceman44
Member
Registered: 2012-03-03
Posts: 13

Trouble installing grub during installation process.

Hey guys, I'm trying to dual boot between windows and arch linux.

Right now this is the way I have my hard drive partitioned.

sda1 - /boot
sda2 - windows
sda3 - /root
sda4 - swap
sda5- /home

So at the part where I install the bootloader(grub in this case), it keeps failing.

I'm not sure exactly what to do with menu.lst, and I don't know how to fix this issue.

Thanks.

Offline

#2 2012-04-28 08:43:38

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: Trouble installing grub during installation process.

What happens when you try to install it?


meh

Offline

#3 2012-04-28 08:43:43

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Trouble installing grub during installation process.

During the installprocedure, one of the other tty's (can't remember which one exactly) will most likely contain some output of why it's failing exactly. You can switch through the tty's with Alt-F1, Alt-F2,...

Last edited by Gcool (2012-04-28 08:44:02)


Burninate!

Offline

#4 2012-04-28 09:41:04

lettuceman44
Member
Registered: 2012-03-03
Posts: 13

Re: Trouble installing grub during installation process.

grub> device (hd0) /dev/sda
grub> root(hd0,0)
Filesystem type unknown, partition type 0xa.
grub>setup(hd0)

Error 17: Cannot mount selected partition
grub> quit

Here is the error output

Last edited by lettuceman44 (2012-04-28 09:41:33)

Offline

#5 2012-04-29 02:33:44

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,145

Re: Trouble installing grub during installation process.

What sort of partition table are you using? I ask because you have 5 partitions. So either some of them are extended partitions or you are using GPT. If you are using GPT, I think you cannot use Arch's grub as your bootloader.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2012-04-29 23:08:42

lettuceman44
Member
Registered: 2012-03-03
Posts: 13

Re: Trouble installing grub during installation process.

cfr wrote:

What sort of partition table are you using? I ask because you have 5 partitions. So either some of them are extended partitions or you are using GPT. If you are using GPT, I think you cannot use Arch's grub as your bootloader.

The last two partitions are just logical partitions.

I just made my partitions during the arch installation process, so besides that I don't know much about the partitions.

Offline

#7 2012-04-30 01:12:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,145

Re: Trouble installing grub during installation process.

You said you couldn't install it but the error you posted seems to be from grub's command prompt or from the rescue shell. Did you install it and see errors on reboot?

What do you mean that you don't know what to do with menu.lst?

Have you read the wiki page on https://wiki.archlinux.org/index.php/Grub?

Did you follow the https://wiki.archlinux.org/index.php/Beginners_Guide?

Last edited by cfr (2012-04-30 01:15:39)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2012-04-30 02:20:39

lettuceman44
Member
Registered: 2012-03-03
Posts: 13

Re: Trouble installing grub during installation process.

That's the error message from the installation process. /dev/tty7 I believe it was.

I have followed the guide, I'm just stuck at installing grub.

It has to be a partition error, but I don't know what it is.


As far as what I meant by menu.lst, I understand what its for. I just didn't know if there was a line in there for the installation of it.

Offline

Board footer

Powered by FluxBB