You are not logged in.
Pages: 1
I have installed arch + dwm . I installed grub and updated it using
grub-mkconfig -o /boot/grub/grub.cfg
.
It showed :
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
done
But still it boots me into grub command prompt, where I get a black screen with
grub>
.
My grub.cfg : http://pastebin.com/rgbmNndM
Offline
Which command did you use to install the GRUB loader to your disk?
What is the output of:
# parted -l
How have you mounted your partitions?
Jin, Jîyan, Azadî
Offline
I used :
grub-install /dev/sda
Output of parted :
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 683MB 682MB ntfs Basic data partition hidden, diag
2 683MB 955MB 273MB fat32 EFI system partition boot, esp
3 955MB 1089MB 134MB Microsoft reserved partition msftres
4 1089MB 139GB 138GB ntfs Basic data partition msftdata
5 139GB 474GB 334GB ntfs Basic data partition msftdata
8 474GB 550GB 76.7GB ext4
9 550GB 559GB 8517MB linux-swap(v1)
6 559GB 978GB 419GB ntfs Basic data partition msftdata
7 978GB 1000GB 22.0GB ntfs Basic data partition hidden, msftdata
Offline
I used :
grub-install /dev/sda
If you have a UEFI system then that is the wrong command.
https://wiki.archlinux.org/index.php/GR … allation_2
How have you mounted your partitions?
Describe in (much) greater detail the exact steps taken during installation.
Jin, Jîyan, Azadî
Offline
I mounted sda8 partition to /mnt and created /mnt/boot and mounted sda2 which contains efi system to it. I have also made a swap on sda9.
I installed grub using this :
grub-install --target=x86_64-efi --efi-directory=/boot/ --bootloader-id=grub --recheck
Grub installs without any errors.
When I do:
grub-mkconfig -o boot/grub/grub.cfg
Now, I am getting this error.
Image: http://s17.postimg.org/mjay5wq5r/IMG_20 … 073403.jpg
Offline
Now, I am getting this error.
Image: http://s17.postimg.org/mjay5wq5r/IMG_20 … 073403.jpg
That error looks informational -- the exit status appears to be zero.
Is the configuration file generated?
Does the `grub-mkconfig` command spit the file to the terminal if you run it without the "-o" flag?
You could try writing your own grub.cfg
http://www.gnu.org/software/grub/manual … -scripting
Jin, Jîyan, Azadî
Offline
Yes, the grub file is generated . I tried writing my own grub.cfg . I can see the grub menu when I click F9 and then there is a grub option from many boot options, on clicking it I can boot into right OS. But it doesn't start on boot .I have to press F9 and select grub.
Offline
I can see the grub menu when I click F9 and then there is a grub option from many boot options, on clicking it I can boot into right OS. But it doesn't start on boot .I have to press F9 and select grub.
I don't really understand this, sorry.
It sounds like you are describing the firmware (BIOS) boot menu -- see if you can find an option to set the default boot device.
Jin, Jîyan, Azadî
Offline
Pages: 1