You are not logged in.
Pages: 1
When I power on my computer grub doesn't run, instead I get an error saying no boot could be found.
My mobo is a UEFI board but I have disabled UEFI boot sources in the mobo setup and installed Arch & windows as BIOS.
I can use my LiveCD and select "Boot From Existing OS" where Arch & Windows are present in the menu.
I do have a a grub partition, it's flagged with bios_grub, 1MB big but it isn't at the start of the disk, not sure if that matters?
Here's some lsblk info, don't know if it helps
[james@development ~]$ lsblk -o NAME,LABEL,FSTYPE,SIZE,TYPE
NAME LABEL FSTYPE SIZE TYPE
sda 931.5G disk
├─sda1 SYSTEM ntfs 100M part
├─sda2 OS ntfs 186G part
├─sda3 1M part
└─sda4 ext4 745.4G partNot sure what /dev/sda1 is, think windows put it there.
/dev/sda2 is windows
/dev/sda3 is the grub partition
/dev/sda4 is my arch partition
Any information you need from me I will be happy to provide.
Offline
Not really sure about this, but when installing in BIOS-mode shouldn't grub be installed to the MBR?
Offline
Oh you reminded me, I used GPT because that's what the installation wiki recommended.
Offline
Indeed, it is recommended for UEFI-boot which you seem to have disabled.
Offline
Do you have a ESP ? If so then look at this. I have never really seen a 1MB partition for boot before, they have all been at least 100 MB...
Last edited by Kartious (2014-03-05 13:06:24)
Offline
Do you have a ESP ? If so then look at this. I have never really seen a 1MB partition for boot before, they have all been at least 100 MB...
It's possible, I originally had Ubuntu which I replaced with Arch and I can't remember how I set it up the booting because I had issues with the whole UEFI stuff and this is over a year ago now.
I made the grub partition 1MB because the grub docs recommended giving it 1MB for expansion. When I check the partition labels the 100MB label is "Microsoft basic data".
Is there a way I can get more information about the 100MB partition?
Offline
post the output of lsblk -f
Did you read the guides on how to set this up ?
What do you mean you originally have Ubuntu which you replaced with Arch? If you are dual booting Arch with any other system or doing anything it must be followed by the well tailored wiki.
Offline
/dev/sda1 for windows is like an EFI System Partition, it's his "boot" directory, afaik
I have used GRUB, though I had 5MB. It is very important that that partition is set as ef02
Show us the output of:
lsblk
blkid
cgdisk /dev/sda (press q and enter to exit)
gdisk /dev/sda (press q and enter to exit)
Though in the end I recommend switching to EFI - gummiboot (what I did), now I can even get the time it needed to boot with "systemd-analyze"
Also, did you run "grub-mkconfig -o /boot/grub/grub.cfg" after install before reboot?
Don't forget to mark as [SOLVED].
Offline
I was dual booting Ubuntu and Windows until a recent LightDM made it hang on start up. I had been looking for an opportunity to switch to Arch and this was it ![]()
I reformatted my Ubuntu partition and installed Arch. I was following the wiki on installation.
james@development> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 186G 0 part
├─sda3 8:3 0 1M 0 part
└─sda4 8:4 0 745.4G 0 part /
sr0 11:0 1 527.3M 0 rom james@development> blkid ~
/dev/sr0: UUID="2014-03-01-08-16-11-00" LABEL="ARCH_201403" TYPE="iso9660" PTUUID="72015f2b" PTTYPE="dos" cgdisk /dev/sda
Part. # Size Partition Type Partition Name
----------------------------------------------------------------
1007.0 KiB free space
1 100.0 MiB Microsoft basic data Microsoft basic data
2 186.0 GiB Microsoft basic data Microsoft basic data
603.0 KiB free space
3 1024.0 KiB BIOS boot partition grub
4 745.4 GiB Linux filesystem archjames@development> sudo gdisk /dev/sda ~
GPT fdisk (gdisk) version 0.8.9
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.I did run grub-mkconfig, I checked whether /boot/grub/grub.cfg exists and it does.
Offline
I had a similar problem, but I had 2 HDDs inside my laptop, and fiddling around made the trick. I'm gonna list a few things to check (learned from my experience)
Check if /boot exists on /dev/sda4 when you mount it, and it includes the linux generated goodies, and grub.
Check in bios the options, if possible show what options you have. I think:
-uefi: with secure boot, needs a key
-uefi: no secure boot
-efi: needs a separate partition
-bios mode?
++also, compatibility mode
Check again which of those you have (post screenshots if possible)
Check: mount /dev/sda3 and /dev/sda4 and "blkid" again
Did you have GRUB install errors?
What is the boot order?
Also, how far are you in the installation and customisation?
Don't forget to mark as [SOLVED].
Offline
I have done the installation and everything works fine except for having to use the LiveCD to launch the OS.
Edit (Sorry completely glazed over your other questions)
In the BIOS I can enable disable UEFI boot sources and/or "legacy" (bios) boot sources,
I don't know how to take screenshots of the mobo setup menu.
I have disabled UEFI boot sources and set the boot order to USB > CD/DVD > HDD.
If I do not have the Arch CD in I get an error message "ERROR: No boot disk or disk has failed"
If I have the Arch CD in I can boot Arch/Windows from the HDD
I had one initial error from GRUB about it needing it's own partition with GPT.
I made a partition, flagged it as bios_grub and tried again, no errors were printed.
I made sure /dev/sda4 is mounted and I still got the same from blkid.
Last edited by Lerp (2014-03-05 16:28:51)
Offline
As I see it, there must be a problem with the grub installation or the partitioning.
Check if /boot/grub/grub.cfg has the linux and windows entries. Also check if the / partition is marked as bootable.
And let's re-check the grub wiki page, I got it working somehow, but I'm unsure how.
Pictures (from an external camera) of your bios would perfect if you could.
Also, I'd recommend to fiddle around with the options of "UEFI-EFI-BIOS-LEGACY", because maybe it's one of those options that don't let you boot your system, and when you change it, it might "be seen".
Don't forget to mark as [SOLVED].
Offline
Okay so I think I know what I've done.
I think I installed Grub on /dev/sda4 instead of /dev/sda3.
I tried to do:
# chattr -i /boot/grub/i386-pc/core.img
# grub-install --target=i386-pc --recheck --debug --force /dev/sda3
# chattr +i /boot/grub/i386-pc/core.imgbut I get the following message:
grub-install: error: unable to identify a filesystem in hostdisk//dev/sda; safety check can't be performed.Is it going to be easier to just use MBR? I really don't understand the difference and only used GPT because the wiki recommended it.
Last edited by Lerp (2014-03-06 10:07:41)
Offline
Okay so I think I know what I've done.
I think I installed Grub on /dev/sda4 instead of /dev/sda3.
I tried to do:
# chattr -i /boot/grub/i386-pc/core.img # grub-install --target=i386-pc --recheck --debug --force /dev/sda3 # chattr +i /boot/grub/i386-pc/core.imgbut I get the following message:
grub-install: error: unable to identify a filesystem in hostdisk//dev/sda; safety check can't be performed.Is it going to be easier to just use MBR? I really don't understand the difference and only used GPT because the wiki recommended it.
Mount the /boot directory under sda3 and start installing grub again from scratch (doesn't take too long anyway). you should receive a message that there are no errors when doing the check. What is your current partition layout ? with a UEFI motherboard there isn't much point in taking a step backwards into MBR unless GPT is really causing you issues.
Offline
Is it going to be easier to just use MBR? I really don't understand the difference and only used GPT because the wiki recommended it.
When booting with MBR, the BIOS only knows how to read the first 512 bytes of the storage device. All boot code must fit in that space (so most MBR bootloaders are just bootstrappers for starting more sophisticated bootloaders).
When booting with GPT, the BIOS can mount and read an entire partition dedicated to boot code. The bootloader is practically unrestricted in complexity.
However, GPT is designed to work nicely with UEFI (the sophisticated replacement for BIOS). Similarly, most - if not all - BIOS bootloaders are designed to work with the primitive MBR and don't take advantage of GPT's features. So configuring BIOS booting with GPT can actually be more complicated than UEFI-GPT or BIOS-MBR.
tl;dr If you must insist on using BIOS (and don't need the features of GPT), use MBR. Otherwise you should spend the time to learn UEFI.
Last edited by silverhammermba (2014-03-06 16:59:58)
Offline
Pages: 1