ASRock A785GMH/128M fails to find devices when in RAID mode and disks are present

2016-07-29 Thread Xen
Just want to report that I have a motherboard (A785GMH/128M) that will fail to boot the moment a RAID disk is present. Grub will just not see any devices. It will fail with a message that (hd0) could not be found. "ls" then yields nothing, an empty line as output. This is also true when boot

Re: ASRock A785GMH/128M fails to find devices when in RAID mode and disks are present

2016-07-30 Thread Xen
Andrei Borzenkov schreef op 30-07-2016 20:49: 29.07.2016 17:29, Xen пишет: Just want to report that I have a motherboard (A785GMH/128M) that will fail to boot the moment a RAID disk is present. Is it EFI or legacy BIOS? Legacy. So what exactly "normal" means here? Do yo

Re: ASRock A785GMH/128M fails to find devices when in RAID mode and disks are present

2016-07-31 Thread Xen
Andrei Borzenkov schreef op 31-07-2016 7:02: You still provided no evidence that any bootloader sees disks in BIOS on this system. How can I test? Is it relevant? How do I find out? Would Windows installation on a RAID disk constitute a test? This is completely unrelated issue and could be

Re: ASRock A785GMH/128M fails to find devices when in RAID mode and disks are present

2016-08-01 Thread Xen
I am probably sending this motherboard off tomorrow to a guy that wants to have it and who has buyers that do not care about Linux or RAID, apparently. If you want any information, you have to request it now. Of course if you are only interested in learning whether Grub2 works correctly or no

Re: ASRock A785GMH/128M fails to find devices when in RAID mode and disks are present

2016-08-03 Thread Xen
Xen schreef op 01-08-2016 22:01: I am probably sending this motherboard off tomorrow to a guy that wants to have it and who has buyers that do not care about Linux or RAID, apparently. I guess you don't want to fix these issues. Happens a lot that people just don't want to fix anyth

grub will install efi kernels on non-efi system

2016-08-07 Thread Xen
Grub installs efi kernels into grub.cfg with grub-mkconfig on non-uefi systems. The Ubuntu /etc/grub.d/10_linux checks for the existence of /sys/firmware/efi but Git grub does not. I don't know how to fix it other than by copying the file over. Regards. _

Re: grub will install efi kernels on non-efi system

2016-08-07 Thread Xen
Andrei Borzenkov schreef op 07-08-2016 18:11: If under "install" you mean "adds menu entry for" - please explain what "efi kernel" is, why grub should not add menu entry for it and how to detect it. Oh, so this is an Ubuntu specific. My apologies. _

Re: How to mount a "BIOS boot partition"?

2016-09-30 Thread Xen
Giovanni Gherdovich schreef op 30-09-2016 20:25: Hello, I'd like to install two different linux distributions and use grub to boot into one or the other. I have a dedicated grub partition on /dev/sda1 and two other partitions for the OSes. /dev/sda1 appears to be a "BIOS boot partition" to tools

Re: How to mount a "BIOS boot partition"?

2016-09-30 Thread Xen
Xen schreef op 01-10-2016 0:51: So you would delete it, create a new first partition of /dev/sda1, then another dedicated boot partition /dev/sda2 (you can use a tool like parted to renumber your gpt partitions) and then your remaining partitions will shift until /dev/sda5, you will now have 5

Re: How to mount a "BIOS boot partition"?

2016-10-05 Thread Xen
Giovanni Gherdovich schreef op 05-10-2016 19:41: On Sat, Oct 1, 2016 at 12:51 AM, Xen wrote: Giovanni Gherdovich schreef op 30-09-2016 20:25: Hello, I'd like to install two different linux distributions and use grub to boot into one or the other. I have a dedicated grub partition on

Re: Moving /boot to another partition

2016-10-11 Thread Xen
Martin schreef op 11-10-2016 20:13: Hi Grub-Team, I have ubuntu 16.04 and my /boot directory has become too small (only 150MB) so I want to move it. For this I need some help. I asked in ubuntuforums.org and askubuntu.com, but nobody could help. /boot is on a separate ext4 partition with 150MB.

Re: Moving /boot to another partition

2016-10-11 Thread Xen
Xen schreef op 11-10-2016 21:31: Oops: Then: mkfs.ext4 /dev/sdb2 (if it has number 2 now, because I'm not sure) tar -xvzf /tmp/boot-files.tgz -C / Would have to be: mkfs.ext4 mount /dev/sdb2 /boot # forgot this step tar -xvzf /tmp/boot-files.tgz -C / Wha

LVM PV on second disk only activated in some circumstances

2016-11-05 Thread Xen
I have someone of an unusual setup, call it experimental. I have two disks. One contains a partition with a PV that embeds two other PVs. One of those two other PVs is the container of a RAID 1 mirror for the first disk. To get to those mirror volumes you'd first need to activate the contai

Re: LVM PV on second disk only activated in some circumstances

2016-11-05 Thread Xen
Xen schreef op 05-11-2016 23:51: TLDR: PV on second disk only gets activated when (apparently) referenced by PV located on first disk because/when that first disk contains Grub's boot files. Booting from anything else doesn't get the second disk activated. Booting from something

chainloading harddisk at HighPoint controller with Windows

2017-01-06 Thread Xen
t the (Windows bootloader) instantly rebooting my computer? Regards, Xen. ___ Help-grub mailing list Help-grub@gnu.org https://lists.gnu.org/mailman/listinfo/help-grub

Re: chainloading harddisk at HighPoint controller with Windows

2017-01-06 Thread Xen
Xen schreef op 06-01-2017 9:00: So the question is how can I chainload this device without the (Windows bootloader) instantly rebooting my computer? Problem solved. The "ntldr /bootmgr" command that I found in the documentation did the trick just fine. So I guess it is just

Re: Support for plain dm-crypt and detached LUKS header

2017-02-11 Thread Xen
Andrei Borzenkov schreef op 11-02-2017 15:29: 11.02.2017 17:11, Maxim Fomin пишет: I have not found any discussion of the issue. Just search for dm-crypt on grub-devel Why create separate module? It appears (I may be wrong) that this functionality can be provided by existing module. By the

Re: Support for plain dm-crypt and detached LUKS header

2017-02-11 Thread Xen
Maxim Fomin schreef op 11-02-2017 19:09: Well, this explains me your line of thinking. Sure, prober cannot detect required parameters for plain dm-crypt, but this is theoretically impossible, so why bother? Either user supplies command with dm-crypt parameters into config file or executes manua

Re: Support for plain dm-crypt and detached LUKS header

2017-02-11 Thread Xen
Andrei Borzenkov schreef op 11-02-2017 19:54: From maintainer point of view the problem is to answer "why cannot I use grub-install with root on dm-crypt if you say it is supported". There is also repository for add-ons, may be it can be put there. Grub2 focusses strongly on generation and r

Re: How to safely switch grub booting in-place from one drive to a replacement with RAID?

2017-02-23 Thread Xen
darrin.tho...@123mail.org schreef op 23-02-2017 3:59: I built new systems before directly onto an array and grub just got taken care of by the installer. But I never switched from one set of drives to another yet. I once changed a system that was booting from a single /boot to a system that

Re: Removal of Software Raid-1 from disk causes linux system in to grub rescue mode

2017-03-20 Thread Xen
Andrei Borzenkov schreef op 20-03-2017 18:43: I have no idea what update-grub does. Unless someone else chimes in, you are better off asking your distribution help channels. only runs grub-mkconfig -o /boot/grub/grub.cfg I believe. ___ Help-grub ma

Re: Force location of GRUB's boot and core images ?

2017-04-09 Thread Xen
Pascal Hambourg schreef op 09-04-2017 10:14: Hello, In some cases I would need to force installation of GRUB's boot and core images into a specific location on the drive instead of letting grub-install decide automatically. For example : - install the boot image in the first sector of an unform

Re: Force location of GRUB's boot and core images ?

2017-04-09 Thread Xen
Pascal Hambourg schreef op 09-04-2017 13:52: Le 09/04/2017 à 12:09, Xen a écrit : Pascal Hambourg schreef op 09-04-2017 10:14: In some cases I would need to force installation of GRUB's boot and core images into a specific location on the drive instead of letting grub-install d

Re: Force location of GRUB's boot and core images ?

2017-04-09 Thread Xen
Pascal Hambourg schreef op 09-04-2017 13:44: I just tried it. grub-install executed without any error, but chainloading the partition boot sector leaves me with a blank screen after the "boot" command. bootinfoscript reports that grub2 is installed in the boot sector of the partition and looks a

Re: Force location of GRUB's boot and core images ?

2017-04-09 Thread Xen
Andrei Borzenkov schreef op 10-04-2017 5:08: If /boot/grub can remain unencrypted (after all, it does not really contain anything core.img cannot) you can simply install it as mount /dev/sda5 /mnt grub-install --boot-directory=/mnt /dev/sda5 using something like ext2 or FAT. Of course your e

Re: Support for plain dm-crypt and detached LUKS header

2017-04-10 Thread Xen
Mat628 schreef op 10-04-2017 12:46: Thank you for the quick response. I just wanted to clarify a few things from your response. Matt, I just want to say it does not help to paste such a wall of text, I mean to say it makes it rather hard to follow what exactly you mean and what the essence of

Re: Support for plain dm-crypt and detached LUKS header

2017-04-11 Thread Xen
Mat628 schreef op 11-04-2017 7:23: Am I correct in stating that your patches would only require: - command line options on each invocation of grub-install to reference a config file of sorts - a config file in a dedicated directory that would allow this config to persist Xen, yes you are

Re: Two systems -- supposed to be the same, but booting with grub differently. What'd I miss?

2017-04-13 Thread Xen
my59st...@speedymail.org schreef op 13-04-2017 15:13: BUT ... "System 2" takes a very long time to boot -- it stalls at right after the Grub menu for up to 2 minutes, then continues to boot normally. OTOH, "System 1" continue boot immediately. Nothing fishy in your dmesg? Weird messages bein

Re: Two systems -- supposed to be the same, but booting with grub differently. What'd I miss?

2017-04-13 Thread Xen
my59st...@speedymail.org schreef op 13-04-2017 17:25: Hi, On Thu, Apr 13, 2017, at 08:14 AM, Xen wrote: Nothing fishy in your dmesg? Weird messages being repeated or anything? Nope. That was the 1st place I looked. Like I said, it's all booting OK. I'm digging around trying t

Re: Safely removing unused Grub2 from MBRs & boot sectors, veirfying still bootable?

2017-04-15 Thread Xen
alb...@airpost.net schreef op 15-04-2017 21:33: I want to REMOVE Grub2 from: -- the boot sectors of the raid disks' partitions, /dev/sda1 & /dev/sdc1 -- the MBR of the nonOS, additional drive, /dev/sdb That's curious, I have just no idea what the format is of the partition-boot-re

Re: Towards a customized Grub2

2017-05-29 Thread Xen
Richard Owlett schreef op 28-05-2017 19:24: When operating systems are added or deleted they *SHALL* appear in the Grub menu in the *PHYSICAL* order that have on the disk. If the partition containing an OS has an associated label, that label *SHALL* be used in lieu of /dev/sdaN - *NO EXCEPTIONS*

Re: Trouble installing to partition: embedding is not possible

2017-07-25 Thread Xen
Mistave schreef op 25-07-2017 14:19: Unfortunately that doesn't work, and grub-install errors out with: grub-install: warning: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea.. grub-install: error: embedding is not possible, but this is required for RAID

Re: Trouble installing to partition: embedding is not possible

2017-07-25 Thread Xen
Pascal Hambourg schreef op 25-07-2017 20:36: The easiest way is to create a small filesystem in that partition, I think. Not any type of filesystem, because /boot/grub is encrypted so embedding the core image is required, and you need a filesystem which supports embedding. Okay. AFAIK, GRU

Re: Why are the following mounts needed before running grub-install ?

2017-08-08 Thread Xen
Sreyan Chakravarty schreef op 07-08-2017 19:18: Can someone explain to me why in case of a chroot environment why the following mounts are necessary before running grub-install or update-grub ? $ mount -t proc none /mnt/ubuntu/proc $ mount -o bind /dev /mnt/ubuntu/dev $ mount -o bind /sys /mnt

Re: Why are the following mounts needed before running grub-install ?

2017-08-08 Thread Xen
Pascal Hambourg schreef op 08-08-2017 20:48: Le 08/08/2017 a 11:16, Xen a ecrit : mount --bind /proc /target/proc mount --bind /dev /target/dev mount --bind /sys /target/sys Note that you do not need to bind-mount these virtual filesystems. You can just mount them any number of times. Aye

Re: Generating config for new RAID array

2017-08-24 Thread Xen
Kjetil Kjernsmo schreef op 24-08-2017 22:42: Now, I'm out of ideas, and I will be very grateful for any help. Can't help you right now, just saying that I did once install a Debian 7 system using the Debian text-mode installer and it allowed me to create the raid array myself using the insta

Re: Fwd: question about grub windows dual boot

2018-02-26 Thread Xen
Dante Ernesto García Vargas schreef op 26-02-2018 16:43: Does Windows breaks GRUB ramdonly after being installed and set in order to dual boot Linux and Windows? Windows 10 has been known to overwrite the boot sector on updates recently. Ordinarily, it does not. It's best to always have a

Re: question about grub windows dual boot

2018-02-26 Thread Xen
Felix Miata schreef op 26-02-2018 18:21: When you make Linux boot from Grub on a primary partition instead of the MBR, then the worst Windows will do is move the boot flag off your Linux onto its own, which you can fix from a Windows boot in a few seconds on those few occasions it happens.

Re: problems dual booting Ubuntu 16.04 and Windows 10

2018-05-08 Thread Xen
Pascal Hambourg schreef op 08-05-2018 14:54: Le 08/05/2018 à 06:58, David Collier a écrit : I am having problems trying to make grub boot Windows 10. (I tried both version which came with 16.04 and the latest and greatest) Version of what ? What versions ? The latest and greatest what ? O

Re: problems dual booting Ubuntu 16.04 and Windows 10

2018-05-08 Thread Xen
David Collier schreef op 08-05-2018 6:58: Hello, I am having problems trying to make grub boot Windows 10. (I tried both version which came with 16.04 and the latest and greatest), what happens, it does not recognize any partitions of the hard drive where Windows 10 is installed. So you mea

Re: Linux ZFS Grub compatibility

2018-06-08 Thread Xen
John Lane schreef op 08-06-2018 15:10: I'm trying unsuccessfully to create a ZFS zpool that I can read in Grub. Haven't done it myself yet but it seemed there were plenty of tutorials. One thing to note is that on Solaris, you could not boot from a pool that has a separate cache, but that m

Re: Linux ZFS Grub compatibility

2018-06-09 Thread Xen
On Sat, 9 Jun 2018, John Lane wrote: I have created a filesystem volume but I cannot read it. I've tried various features enabled and disabled without success. When I do  "ls (hd1,1)/ROOT/archlinux@/boot' I get errors for each file about the compression algorithm not being supported. Enabling or

Re: Linux ZFS Grub compatibility

2018-06-13 Thread Xen
John Lane schreef op 12-06-2018 18:15: So it must be some issue with the Grub version on Arch. I would have expected that to be closer to vanilla than Ubuntu's but then maybe that's the problem. Like you said, I don't know if Ubuntu's grub contains any special ubuntu-specific patches. I did no