You are not logged in.
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/sdaLast edited by giwrg98 (2012-09-01 15:16:52)
Offline
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
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
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
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
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
Off topic:How should a gpt be partitioned in order to work with the (not suggested) command at the grub2 wiki?
Offline
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
I don't know how to desingn my partition scheme...
Offline
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
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
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).
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
So if I create these 4 partitions with cfdisk where should I mount them? Also what grub-install command should I use?
Offline
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)
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
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
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
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
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
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
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
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 doSHouldn'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
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).
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
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
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
Offline
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 homeI 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
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