You are not logged in.

#1 2012-09-01 15:12:36

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Can't boot Arch

I just installed arch with by following the beginner's guide, but when I rebooted, I get this message:

Yukon PXE v6.50.2.3 (20071025)
(C)Copyright 2003-2007 Marvell(R). All rights reserved.
Pre-boot eXecution Environment (PXE) v2.12
(C)Copyright 1997-2000 Intel Corporation...
...

I searched a bit and found that the problem looks like this: http://www.techsupportforum.com/forums/ … 03317.html but my laptop doesn't make any weird sounds...
EDIT: At the end of the installation, in the unmounting part, I executed

umount /mnt/{boot,home,}

but it said boot wasn't mounted. Despite that I restarted. Can this be the source of the problem?
EDIT2: I reskimed the installation guide and I notice that I maybe forgot to execute this command:

grub-install --target=i386-pc --recheck /dev/sda

Last edited by giwrg98 (2012-09-01 15:16:52)

Offline

#2 2012-09-01 16:00:02

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

Ok, tried again to install, this time I executed the grub-install command and I ran

umount /mnt/{home,}

and it gave me no errors. But that message appears again. Does it have to do that I used the --force option in grub-install because I do not have any /boot partition?

Offline

#3 2012-09-01 16:14:47

Carharttjimmy
Member
From: North Carolina
Registered: 2010-12-10
Posts: 37

Re: Can't boot Arch

I believe you should follow the wiki on installing grub to the mbr.

https://wiki.archlinux.org/index.php/GRUB2

It says how to install grub to the mbr. Pretty straightforward.

That should be what you are missing.

Offline

#4 2012-09-01 16:38:36

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

Yes but now when I open /dev/sda with cfdisk, it tells me that it is in gpt. How can I go back to mbr? Also could I just make a seperate partition for /boot in gpt and fix the problem?

Offline

#5 2012-09-01 16:46:13

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't boot Arch

Why don't you google "go back to mbr" and "convert gpt to mbr" ?

http://lmgtfy.com/?q=go+back+to+mbr
http://lmgtfy.com/?q=convert+gpt+to+mbr


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-09-01 17:07:29

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

Off topic:How should a gpt be partitioned in order to work with the (not suggested) command at the grub2 wiki?

Offline

#7 2012-09-01 17:34:25

Arctus
Member
Registered: 2012-07-14
Posts: 99

Re: Can't boot Arch

You would have to leave enough space at the start of the drive, as far as I recall
You might want to post your partition scheme, would make it easier to give you advice.

Offline

#8 2012-09-01 18:00:52

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

I don't know how to desingn my partition scheme...

Offline

#9 2012-09-01 18:53:57

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't boot Arch


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#10 2012-09-01 18:57:15

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

giwrg98 wrote:

I don't know how to desingn my partition scheme...

How about this:

1: 2 MB partition for grub bios
2: 100 MB boot partition with ext2 filesystem
3: Swap partition, about 2 GB or so
4: Root partition with ext4 (Rest of the disk)


Also, do this to the bios partition after exiting cgdisk

# parted /dev/sda set 1 bios_grub on

Assuming you are using the /dev/sda disk and the 2 MB bios partition is /dev/sda1
This also assumes you go for a GPT partition table which I would do

Last edited by drobole (2012-09-01 22:41:33)

Offline

#11 2012-09-01 19:09:02

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't boot Arch

Also, do this to the bios partition after exiting cgdisk

# parted /dev/sda set 1 boot on

GRUB doesn't care about the boot flag. It's only useful with Syslinux, and the "syslinux-install_update" script (usually) takes care of it.

Instead of a swap partition, you can always use a swap file (just like the Windows pagefile.sys, except unlike Windows, it can also store the hibernation stuff). But with 2 GB+ RAM you probably won't even need it. I don't.


This is going a bit offtopic. Come back when you can't boot Arch (obviously RTFM, and google it first).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2012-09-01 19:10:53

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

So if I create these 4 partitions with cfdisk where should I mount them? Also what grub-install command should I use?

Offline

#13 2012-09-01 19:13:49

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't boot Arch

Choose the "grub-install" command based on your motherboard. If you don't know what motherboard you have, it's probably a BIOS motherboard.

What do you need 4 partitions for?

Last edited by DSpider (2012-09-01 19:14:12)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-09-01 19:14:27

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

giwrg98 wrote:

So if I create these 4 partitions with cfdisk where should I mount them? Also what grub-install command should I use?

If you do what I suggested use cgdisk, not cfdisk. cfdisk does not support GPT partition tables.

Also add this to the installation procedure futher down:

# pacstrap /mnt grub-bios

Finally, I do this

# grub-install /dev/sda
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
# grub-mkconfig -o /boot/grub/grub.cfg

edit:
The root partition should be mounted as /mnt, and the boot partition should be mounted as /mnt/boot
I think the installation guide shows the commands how to do this unless it has changed drastically since I last read it

Last edited by drobole (2012-09-01 19:27:35)

Offline

#15 2012-09-01 19:19:46

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

DSpider wrote:

Also, do this to the bios partition after exiting cgdisk

# parted /dev/sda set 1 boot on

GRUB doesn't care about the boot flag.

Maybe, but it shouldn't hurt either.
I'm just telling him what I have been doing, and it has been working fine for me.

Offline

#16 2012-09-01 19:27:02

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

Which partition should be set to bootable? Also these three commands are executed in the installation root environment?
EDIT: Also, what is the grub bios?
EDIT2: Why did you use GPT?

Last edited by giwrg98 (2012-09-01 19:30:42)

Offline

#17 2012-09-01 19:30:49

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

giwrg98 wrote:

Which partition should be set to bootable?

Umm, try the boot partition (probably /dev/sda2 if you created the table I suggested)
But I'm not sure it matters...

Also these three commands are executed in the installation root environment?

After doing arch-chroot, yes

Last edited by drobole (2012-09-01 19:31:18)

Offline

#18 2012-09-01 19:33:26

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

EDIT: Also, what is the grub bios?

It is the part of grub2 that gets installed on the hard drive, the 2 MB partition that is ( I think )

EDIT2: Why did you use GPT?

Isn't that the new thing?
I don't know. It works for me anyway

Last edited by drobole (2012-09-01 19:35:01)

Offline

#19 2012-09-01 19:40:29

Carharttjimmy
Member
From: North Carolina
Registered: 2010-12-10
Posts: 37

Re: Can't boot Arch

drobole wrote:
giwrg98 wrote:

I don't know how to desingn my partition scheme...

How about this:

1: 2 MB partition for grub bios
2: 100 MB boot partition with ext2 filesystem
3: Swap partition, about 2 GB or so
4: Root partition with ext4 (Rest of the disk)


Also, do this to the bios partition after exiting cgdisk

# parted /dev/sda set 1 boot on

Assuming you are using the /dev/sda disk and the 2 MB bios partition is /dev/sda1
This also assumes you go for a GPT partition table which I would do

SHouldn't he have a /home partition too?

Or is home on another disk?

Offline

#20 2012-09-01 19:45:44

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

Carharttjimmy wrote:
drobole wrote:
giwrg98 wrote:

I don't know how to desingn my partition scheme...

How about this:

1: 2 MB partition for grub bios
2: 100 MB boot partition with ext2 filesystem
3: Swap partition, about 2 GB or so
4: Root partition with ext4 (Rest of the disk)


Also, do this to the bios partition after exiting cgdisk

# parted /dev/sda set 1 boot on

Assuming you are using the /dev/sda disk and the 2 MB bios partition is /dev/sda1
This also assumes you go for a GPT partition table which I would do

SHouldn't he have a /home partition too?

Or is home on another disk?

If I was installing a permanent system I would use a /home partition too. Its not necessary for things to work though. And as DSpider said, neither is the swap partition (if you have enough ram), or even the boot partition.

Offline

#21 2012-09-01 20:03:43

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't boot Arch

drobole wrote:

EDIT: Also, what is the grub bios?

It is the part of grub2 that gets installed on the hard drive, the 2 MB partition that is ( I think )

Not sure if he's trolling or serious... There is no such thing as "the grub bios".

grub-bios is the GRUB package that you would install, using pacman, if you have a BIOS motherboard. Otherwise, you would install grub-efi-x86_64 (or in rare cases grub-efi-i386).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#22 2012-09-01 20:31:19

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

DSpider wrote:

Not sure if he's trolling or serious... There is no such thing as "the grub bios".

Are you the guy who always look for a grudge?

https://wiki.archlinux.org/index.php/GRUB2#BIOS_systems

I suggested creating a 2 MB partition for grub to put its tables. This partition is more generally referred to as the BIOS boot partition, but as I would put grub on it, I happened to call it the grub bios (or something like that)

Looking at yours and mine post count, I'm starting to wonder who is more susceptible to be a troll...

Offline

#23 2012-09-01 22:45:42

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

There may have been some misunderstandings here due to typos.

What I called grub bios is the partition grub need when using GPT, if I understand this correctly.
In order for things to work, the partition must also be flagged as a bios_grub partition, as described here

http://www.gnu.org/software/parted/manu … e/set.html

Offline

#24 2012-09-02 09:57:57

giwrg98
Member
Registered: 2012-04-12
Posts: 81

Re: Can't boot Arch

I now have this partition scheme:

Partition scheme using cgdisk:
1	2.0MiB		Linux filesystem		grub bios
2	100.0MiB	        Linux filesystem		boot
3	30.0GiB		Linux filesystem		root
4	3.0GiB		Linux swap		swap
5	265.0GiB	        Linux filesystem		home

I should mount firstly /dev/sda3 to /mnt, then /dev/sda5 to /mnt/home, then /dev/sda2 to /mnt/boot and where should /dev/sda1 be?

Offline

#25 2012-09-02 11:58:56

drobole
Member
From: Norway
Registered: 2012-07-23
Posts: 125

Re: Can't boot Arch

You dont need to do anything with /dev/sda1

It should just be there, no need to give it a filesystem or mounting it.

You must use this command on it though

# parted /dev/sda set 1 bios_grub on

so that grub will find and use it.

Offline

Board footer

Powered by FluxBB