Re: Building grub2 for use as a kernel on qemu

2017-02-03 Thread Andrei Borzenkov
03.02.2017 23:49, Shaun Reitan пишет: > Andrei, > > Tried to build a kernel image using the following. > > ./bin/grub-mkstandalone -O i386-pc -o grub2.img grub.cfg --fonts="" > --locales="" --themes="" --install-modules="acpi adler32 affs ahci > all_video aout ata at_keyboard biosdisk blocklist

Re: Why is there no grub 2.02~beta3 for windows?

2017-02-03 Thread Andrei Borzenkov
29.07.2016 17:37, Marius Ionut Lala пишет: > Hello > > I've been using grub-2.02~beta2-for-windows (from > http://alpha.gnu.org/gnu/grub/) to install GRUB 2 from within Windows. It > works great but I would like to know why there isn't a Windows build for > the latest beta 3 release. I would like

Re: Building grub2 for use as a kernel on qemu

2017-02-03 Thread Andrei Borzenkov
n-case > your still up since it seams like were on opposite ends of the world :) > > -- > Shaun > > > > -- Original Message -- > From: "Andrei Borzenkov" <arvidj...@gmail.com> > To: "Shaun Reitan" <shaun.rei...@ndchost.com>; &quo

Re: Building grub2 for use as a kernel on qemu

2017-02-02 Thread Andrei Borzenkov
the VNC console all i > see is a bunch of colorful giberish. > QEMU platform is intended to run on "bare metal" replacing BIOS, i.e. qemu-system-x86_64 -bios grub2.img You will need to include at_keyboard in image to get console input. > -- > Shaun > > > > -

Re: Building grub2 for use as a kernel on qemu

2017-02-02 Thread Andrei Borzenkov
On Thu, Feb 2, 2017 at 6:25 AM, Andrei Borzenkov <arvidj...@gmail.com> wrote: ... >> >> grub-mkimage -O i386-pc -c grub.cfg -o grub2.img at_keyboard configfile >> biosdisk ext2 linux serial halt minicmd terminal all_video cat echo gzio >> search linux16 normal dis

Re: Building grub2 for use as a kernel on qemu

2017-02-01 Thread Andrei Borzenkov
02.02.2017 03:33, Shaun Reitan пишет: > I'm attempting to build a grub2 image that will be used with QEMU to > load the grub configuration from a flat disk image (no partitioning, > just a filesystem). I've created a grub.cfg with the following inside of > it. > > echo "Hold onto your grub!" >

Re: EXT4 booting with Grub 1.97 (0.97-64) Debian

2017-01-30 Thread Andrei Borzenkov
30.01.2017 22:27, Sophie Loewenthal пишет: > Hi all, > > Will these packages on a Debian squeeze server support grub booting > from an ext4 file system with the extra features turned on ( e.g extents)? > > # dpkg -la|grep grub > ii grub 0.97-64

Re: list options & set-default for 'Advanced options'? " Please don't use old title" ?

2017-01-27 Thread Andrei Borzenkov
27.01.2017 21:31, l...@ssl-mail.com пишет: > I run > > grub2-mkconfig --version > grub2-mkconfig (GRUB2) 2.02~beta3 > > I've used a convenience script to list Grub2 options to console > > grub2-select_2.sh > #!/bin/bash > oIFS="$IFS" >

Re: Grub booted from UEFI NETWORK

2017-01-26 Thread Andrei Borzenkov
26.01.2017 19:09, KaLi пишет: > HI, I have a question is there a way to check if file exist if ill > boot GRUB under the UEFI Network ? I was trying to do something like that : > if [ -e $prefix/test.grub ]; then menuentry TESTING { insmod > chain chainloader

Re: UEFI-PXE boot to grub2 with BIOS configured VLAN tagging?

2017-01-22 Thread Andrei Borzenkov
13.01.2017 21:35, Christian Rohmann пишет: > Hey Andrei, > > sorry for the late reply. > > > On 11.01.2017 17:34, Andrei Borzenkov wrote: >> You misunderstand. What is missing is the way to transport information >> about VLAN from firmware (UEFI) to GRUB. How it

Re: UEFI-PXE boot to grub2 with BIOS configured VLAN tagging?

2017-01-20 Thread Andrei Borzenkov
13.01.2017 21:35, Christian Rohmann пишет: > Hey Andrei, > > sorry for the late reply. > > > On 11.01.2017 17:34, Andrei Borzenkov wrote: >> You misunderstand. What is missing is the way to transport information >> about VLAN from firmware (UEFI) to GRUB. How it

Re: grub2 and qemu

2017-01-20 Thread Andrei Borzenkov
20.01.2017 03:16, Shaun Reitan пишет: > > I am now wanting to do the same thing with QEMU/KVM. It looks like grub > has a platform for i386-qemu and i've tried to just swap that part out > of the grub-mkstandalone process. > When i start the guest and attach to the conole all i see is the system

Re: Environment variable for BOOTP next server?

2017-01-16 Thread Andrei Borzenkov
16.01.2017 12:50, Steven Shiau пишет: > Dear all, > When using dnsmasq with proxy function, i.e., to separate the DHCP > service with BOOTP service. The GRUB environment variable > "net_default_server" or "net__dhcp_server_name" is about the > DHCP server. Reviewing RFC 951 (with clarifications)

Re: Grub2 UEFI boot and serial console output

2017-01-16 Thread Andrei Borzenkov
On Mon, Jan 16, 2017 at 12:25 PM, Matwey V. Kornilov <matwey.korni...@gmail.com> wrote: > 2017-01-16 12:22 GMT+03:00 Andrei Borzenkov <arvidj...@gmail.com>: >> On Mon, Jan 16, 2017 at 11:36 AM, Matwey V. Kornilov >> <matwey.korni...@gmail.com> wrote: &

Re: Grub2 UEFI boot and serial console output

2017-01-16 Thread Andrei Borzenkov
On Mon, Jan 16, 2017 at 11:36 AM, Matwey V. Kornilov wrote: >> >> I think here is my issue: >> >> terminal_input says that 'console' is active terminal and no other >> terminals available. >> >> serial --speed=115200 efi0 says "can't find command `serial'" >> > > Ok,

Re: USB devices non-functional when chainloading Windows 7 from GRUB

2017-01-14 Thread Andrei Borzenkov
13.01.2017 13:52, Will Thompson пишет: > Hi, > > A user has reported that, after they set up Endless OS to dual-boot with > Windows 7, their keyboard and mouse no longer work in Windows, though they > work fine in our Linux distro. This is a BIOS system. There's nothing > particularly fancy in

Re: Grub2 UEFI boot and serial console output

2017-01-13 Thread Andrei Borzenkov
13.01.2017 19:40, Matwey V. Kornilov пишет: > 2017-01-13 16:44 GMT+03:00 Andrei Borzenkov <arvidj...@gmail.com>: >> 13.01.2017 12:03, Matwey V. Kornilov пишет: >>> 2017-01-11 20:16 GMT+03:00 Andrei Borzenkov <arvidj...@gmail.com>: >>>> 11.01.2017 19:55,

Re: Grub2 UEFI boot and serial console output

2017-01-13 Thread Andrei Borzenkov
13.01.2017 12:03, Matwey V. Kornilov пишет: > 2017-01-11 20:16 GMT+03:00 Andrei Borzenkov <arvidj...@gmail.com>: >> 11.01.2017 19:55, Matwey V. Kornilov пишет: >>> 2017-01-11 19:45 GMT+03:00 Andrei Borzenkov <arvidj...@gmail.com>: >>>> 11.01.2017 16

Re: Grub2 UEFI boot and serial console output

2017-01-11 Thread Andrei Borzenkov
11.01.2017 19:55, Matwey V. Kornilov пишет: > 2017-01-11 19:45 GMT+03:00 Andrei Borzenkov <arvidj...@gmail.com>: >> 11.01.2017 16:27, Matwey V. Kornilov пишет: >>> Hello, >>> >>> What is the proper way to output GRUB2 menu to serial rs232 console wh

Re: UEFI-PXE boot to grub2 with BIOS configured VLAN tagging?

2017-01-09 Thread Andrei Borzenkov
On Mon, Jan 9, 2017 at 1:16 PM, Christian Rohmann <christian.rohm...@inovex.de> wrote: > Hey Andrei, help-grub, > > On 01/06/17 17:12, Andrei Borzenkov wrote: >> >> The latter. There were patches to add tagged VLAN support (and they are >> used by vendors, e.g. SUS

Re: UEFI-PXE boot to grub2 with BIOS configured VLAN tagging?

2017-01-06 Thread Andrei Borzenkov
06.01.2017 16:25, Christian Rohmann пишет: > Hello help-grub, > > I am attempting to PXE boot a HP DL380 Gen9 server using UEFI PXE with a > VLAN tag configured in the BIOS. In this care the connection goes via > the machines 10Gig NICs. > > The DHCP request and resulting TFTP download works

Re: Grub2 Graphics In OS

2016-12-16 Thread Andrei Borzenkov
s well ... > 8:16 PM, December 15, 2016, Andrei Borzenkov <arvidj...@gmail.com>: > > 16.12.2016 07:02, Tristan ross пишет: > > > I use GRUB2 to boot up and set graphical mode. The function reads the > multiboot > headers and uses it to render. > > > Please po

Re: Grub2 Graphics In OS

2016-12-15 Thread Andrei Borzenkov
45 PM, December 15, 2016, Andrei Borzenkov <arvidj...@gmail.com>: > > 15.12.2016 22:29, Tristan ross пишет: > > Hey, I've got my os to boot with grub2 and it goes into graphics > mode. > > > "It" - grub or os? > >

Re: Grub2 Set title

2016-12-14 Thread Andrei Borzenkov
On Wed, Dec 14, 2016 at 4:33 AM, Tristan ross wrote: >I am compiling grub2 on my ubuntu machine and I'm trying to set the >boot message, but I don't know how. > What boot message do you mean? ___ Help-grub mailing list

Re: GRUB can't chainload Windows under Secure Boot

2016-12-10 Thread Andrei Borzenkov
10.12.2016 21:29, Giovanni Santini пишет: > Il 10/12/2016 16:01, Andrei Borzenkov ha scritto: >> No, that's OK. The error is EFI_INVALID_PARAMETER which is rather >> unexpected at this point. >> >> Stab in the dark - could you try to change loading from >> >&g

Re: GRUB can't chainload Windows under Secure Boot

2016-12-10 Thread Andrei Borzenkov
10.12.2016 17:53, Giovanni Santini пишет: > Il 09/12/2016 16:55, Andrei Borzenkov ha scritto: >> >> Sorry, it is 64 bit, please change it to >> >> grub_error (GRUB_ERR_BAD_OS, "cannot load image: %08" PRIuGRUB_UINT64_T, >> (grub_int64_t) status) >

Re: GRUB can't chainload Windows under Secure Boot

2016-12-09 Thread Andrei Borzenkov
09.12.2016 18:31, Giovanni Santini пишет: > Il 09/12/2016 04:41, Andrei Borzenkov ha scritto: >> Edit grub-core/loader/efi/chainloader.c, print EFI status when loading >> fails, then we at least know why it fails. This is in function >> grub_cmd_chainloader, after

Re: `grub-install` failed on a partitionless fully luks encrypted 4TB HDD

2016-12-09 Thread Andrei Borzenkov
. > I have asked Milan Broz about this, waiting for his reply. > > Please let me know more about your idea, > > Regards, > Hamid > > > On Fri, Dec 9, 2016 at 11:06 AM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: >> >> On Fri, Dec 9, 2016 at 9:52 AM, Ha

Re: `grub-install` failed on a partitionless fully luks encrypted 4TB HDD

2016-12-08 Thread Andrei Borzenkov
On Fri, Dec 9, 2016 at 9:52 AM, Hamid Nassiby wrote: > Hi Andrei, > > The output of "fdisk -l /dev/sdb": > >> Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors >> Units: sectors of 1 * 512 = 512 bytes >> Sector size (logical/physical): 512 bytes / 4096 bytes >>

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
09.12.2016 00:19, Giovanni Santini пишет: > Il 08/12/2016 19:44, Andrei Borzenkov ha scritto: >> >> Works just as fine. I get your error if I attempt to load unsigned image >> (for which no hash was enrolled). >> > > What did you exactly do? Downloaded binary

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
08.12.2016 21:27, Giovanni Santini пишет: > Il 08/12/2016 18:34, Andrei Borzenkov ha scritto: >> >> If you are using Linux Foundation chainloader I expect normal GRUB >> chainloader command to work. Do you have pointers to preloader binary >> you are using? I am act

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
08.12.2016 20:34, Andrei Borzenkov пишет: > 08.12.2016 18:50, Giovanni Santini пишет: >> Il 08/12/2016 15:05, Andrei Borzenkov ha scritto: >>> >>> Well, I do not know about Arch, but Ubuntu is using patch similar to >>> openSUSE, which means - it R

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
08.12.2016 18:50, Giovanni Santini пишет: > Il 08/12/2016 15:05, Andrei Borzenkov ha scritto: >> >> Well, I do not know about Arch, but Ubuntu is using patch similar to >> openSUSE, which means - it REQUIRES shim. Patch replaces default >> chainloader command with on

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
On Thu, Dec 8, 2016 at 4:18 PM, Giovanni Santini <itachi.sama.amater...@gmail.com> wrote: > Il 08/12/2016 14:01, Andrei Borzenkov ha scritto: >> >> There are two preloaders (loosely calling shim also preloader). Linux >> Foundation's one overrides standard sec

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
On Thu, Dec 8, 2016 at 3:09 PM, Giovanni Santini <itachi.sama.amater...@gmail.com> wrote: > Il 08/12/2016 12:31, Andrei Borzenkov ha scritto: >> >> I understand that this needs clarification. >> >> GRUB itself is completely Secure Boot agnostic - if you s

Re: GRUB can't chainload Windows under Secure Boot

2016-12-08 Thread Andrei Borzenkov
On Thu, Dec 8, 2016 at 2:04 PM, Giovanni Santini <itachi.sama.amater...@gmail.com> wrote: > Il 08/12/2016 05:03, Andrei Borzenkov ha scritto: >> >> Upstream GRUB does not support secure boot at all, so you need to raise >> bug report to your distribution. Each

Re: `grub-install` failed on a partitionless fully luks encrypted 4TB HDD

2016-12-07 Thread Andrei Borzenkov
07.12.2016 21:24, Hamid Nassiby пишет: > Hi > ​​ > , > > I am trying to install grub (v. 2.02~beta2-22+deb8u1) on a partitionless > 4TB HDD which is fully encrypted by luks. Over the luks, I have 3 logical You cannot boot from disk if it is fully encrypted. You need at least unencrypted space

Re: GRUB can't chainload Windows under Secure Boot

2016-12-07 Thread Andrei Borzenkov
07.12.2016 21:37, Giovanni Santini пишет: > Good evening, > I have a strange issue with GRUB. > I have multiple OSes on my laptop and one of them is Windows. > GRUB detects it properly and can chainload it... > When Secure Boot (from now on SB) is disabled. > > When SB is on, I receive a pretty

Re: Grub2 search by partition label or UUID rather than filesystem?

2016-11-23 Thread Andrei Borzenkov
On Wed, Nov 23, 2016 at 11:45 AM, Avi Deitcher wrote: > Is grub2 capable of searching for a (GPT) partition label or UUID? I know > it can search using a *filesystem* label or UUID: > > search.fs_label SOMELABEL root > search.fs_uuid FSUUID root > > But is there any way to

Re: cryptomount passphrase on serial console

2016-11-15 Thread Andrei Borzenkov
15.11.2016 22:56, Opty пишет: > > Worked like a charm on the first attempt, thanks. Credits to > http://lists.gnu.org/archive/html/help-grub/2014-12/msg00071.html as > well (original idea). > > Now what? :-) > Can only repeat my answer to mentioned e-mail - please send patches :)

Re: cryptomount passphrase on serial console

2016-11-13 Thread Andrei Borzenkov
On Mon, Nov 14, 2016 at 1:00 AM, Opty wrote: > Hello! > > Is it possible to initialize serial console before cryptomount command > asks for passphrase (encrypted /boot)? > Yes, it is possible. Could you be more specific what exactly you want to know?

Re: Added SATA drive, now it won't boot

2016-11-12 Thread Andrei Borzenkov
10.11.2016 00:52, Tracy Reed пишет: > Simon Hobson said: >> What does your grub.conf have for device names ? > > Thank you very much for your reply! > > I'm running CentOS 7 so I have a /etc/grub2.conf which contains, among a > lot of other code which I do not yet understand, this code which I >

Re: How to use grub-mkimage prefix?

2016-11-01 Thread Andrei Borzenkov
01.11.2016 19:39, J. Eppler пишет: > Hello, > > I use the following command to create a grub image: > > ~~~ > ./grub-mkimage --verbose --output=out/grubaa64.efi grub-mkimage is internal tool that is not intended to be used directly for day to day grub installations. What are you trying to do

Re: Odd error message

2016-10-31 Thread Andrei Borzenkov
On Mon, Oct 31, 2016 at 2:47 AM, Dale R. Worley wrote: > I've been having some intermittent problems with Grub. But before I can > debug that, I need to know this: > > The symptom is that Grub cannot load Linux; it produces this error > message and halts: > > error:

Re: Secure Boot with NTFS access

2016-10-30 Thread Andrei Borzenkov
30.10.2016 15:31, steve6...@gmail.com пишет: > ​When I secure boot to grub, some modules are blocked from loading such as > regexp, cpuid, read, ls, drivemap, search_fsuuid > You are unlikely to need drivemap on platform with secure boot (a.k.a. UEFI). Actually it is not even built on this

Re: Grub2 PXE Boot UEFI MAC address based configuration

2016-10-27 Thread Andrei Borzenkov
27.10.2016 14:25, Engelmann Florian пишет: > Dear list, > > I am at the same path Andy was: > > https://lists.gnu.org/archive/html/help-grub/2013-06/msg00019.html > > But I found lots of tutorials describing grub2 using a configuration scheme > like grub.cfg-01-: > >

Re: grub with serial line configuration using PCI serial adapter

2016-10-27 Thread Andrei Borzenkov
0 00 00 00 00 00 >> b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> f0: 00 00 00 00 00 00 00 00

Re: Grub2 and Xen on arm64 - which modules do I have to use?

2016-10-26 Thread Andrei Borzenkov
26.10.2016 03:18, J. Eppler пишет: > Hello, > > I would like to run Xen on Debian (96boards HiKey board), but to be able > to load Xen I need Grub2 modules, which allow me to load Xen on ARM64 > (also known as aarch64 or arm-v8). > > According to the git commits (see [1]) Xen boot support for

Re: booting a clone from a /dev/md0 disk as single ext4 disk

2016-10-23 Thread Andrei Borzenkov
23.10.2016 19:09, John Griessen пишет: >> >>> > and cannot utilize a hand written grub.cfg menu entry like this: >>> > >>> > menuentry 'Debian stretch/sid Linux 4.7.0-1-amd64' --class debian >>> > --class gnu-linux --class gnu --class os { >>> > load_video >>> > insmod gzio >>> > insmod

Re: UUIDs and PARTUUIDs cloning for backup recovery

2016-10-22 Thread Andrei Borzenkov
22.10.2016 01:49, John Griessen пишет: > Hi, > > I once used grub1 to clone disks to multiple other disks and after each > cloning run with rsync a script changed fstab to match the device it was on > and I was ready to boot from 3 or 4 places on the same machine, or over > ssh to another >

Re: grub with serial line configuration using PCI serial adapter

2016-10-19 Thread Andrei Borzenkov
best regards > Rishat > > On 2016-10-19 06:40, Andrei Borzenkov wrote: >> >> 18.10.2016 23:05, Songatov Rishat пишет: >>> >>> Hi >>> >>> lspci -i in the grub environment shows me this: >>> >>> 01:06.0 9710:9835 [0700] Commun

Re: grub with serial line configuration using PCI serial adapter

2016-10-18 Thread Andrei Borzenkov
ard. Sooner I'll give you >> output from lspci -i. >> >> -- >> With best regards >> Rishat >> >> On 2016-10-18 14:05, Andrei Borzenkov wrote: >>> On Tue, Oct 18, 2016 at 12:48 PM, rishat <ris...@nixnotes.ru> wrote: >>>> Hi And

Re: grub with serial line configuration using PCI serial adapter

2016-10-18 Thread Andrei Borzenkov
not compatible. If I need to change this > card do you have list of pci, pci-e card that successfully can by used? Is > it possible I've faced to situation when two motherboards can't initialize > this hardware? > > Thank you in advance. > > -- > Best regards > Ri

Re: grub with serial line configuration using PCI serial adapter

2016-10-17 Thread Andrei Borzenkov
able hardware and "yes" would leave it to operating system. > -- > > Best regards > > Rishat > > > On 17.10.2016 20:34, Andrei Borzenkov wrote: >> 17.10.2016 19:41, rishat пишет: >>> On 2016-10-17 19:16, Andrei Borzenkov wrote: >>>> 17

Re: grub with serial line configuration using PCI serial adapter

2016-10-17 Thread Andrei Borzenkov
17.10.2016 19:41, rishat пишет: > On 2016-10-17 19:16, Andrei Borzenkov wrote: >> 17.10.2016 16:16, rishat пишет: >>> setserial -g /dev/ttyS[0-4] >>> /dev/ttyS0, UART: 16550A, Port: 0xa880, IRQ: 21 >> ... >>> >>> When I tried to manually type a &q

Re: grub with serial line configuration using PCI serial adapter

2016-10-17 Thread Andrei Borzenkov
17.10.2016 16:16, rishat пишет: > setserial -g /dev/ttyS[0-4] > /dev/ttyS0, UART: 16550A, Port: 0xa880, IRQ: 21 ... > > When I tried to manually type a "serial --speed=115200 --unit=0 --word=8 > --parity=no --stop=1" in the grub command line it complains that COM1 > port don't exist. I have

Re: Moving /boot to another partition

2016-10-11 Thread Andrei Borzenkov
11.10.2016 21:13, Martin пишет: > 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

Re: can I configure grubx64.efi to look in the same directory as itself, or must it have an explicit prefix & root?

2016-10-10 Thread Andrei Borzenkov
10.10.2016 21:45, Avi Deitcher пишет: > I am doing a manual EFI build with grub-mkimage. If I change the drives, or > uuid or labels on my /boot partition, normally I would rerun grub-mkimage > and change the --prefix or --config setting to include an updated > search.fs_uuid or search.fs_label >

Re: LUKS decryption taking an unreasonably long time?

2016-09-25 Thread Andrei Borzenkov
25.09.2016 19:57, Aleksejs Popovs пишет: > Hi, > > Just installed GRUB on my new laptop and found the new cryptodisk > feature. It seemed super convenient, so I enabled it, but what I noticed > was that GRUB takes an unreasonably long time to actually decrypt the > disk --- it takes approximately

Re: PXE, EFI, IPv6 and Grub2

2016-09-20 Thread Andrei Borzenkov
On Tue, Sep 20, 2016 at 8:26 AM, Franck Martin wrote: > I'm trying to PXE boot over IPv6 and grub2 > > I have this in my dhcpd6.conf > option dhcp6.bootfile-url "tftp://[2620:0:0:1::245]/bootx64.efi;; > > The system boots, I can see the bootx64.efi is getting downloaded

Re: Re: Re: Re: grub search - reboot ?

2016-09-15 Thread Andrei Borzenkov
its after that. >> Are you willing to test current upstream head? >> You can compile and install it in parallel to your distro version. > > yes. is it this one? http://git.savannah.gnu.org/cgit/grub.git > Yes. > regards > roland > > >> Gesendet: Mittwoch,

Re: Aw: Re: Re: grub search - reboot ?

2016-09-14 Thread Andrei Borzenkov
14.09.2016 19:26, devz...@web.de пишет: > i added echo and sleep before and after search statement and as i > told, the VM resets (and powers down) after the failed search > command > > for my curiousity, i cannot reproduce this on a physical box. there > it`s being printed that the corresponding

Re: Aw: Re: grub search - reboot ?

2016-09-14 Thread Andrei Borzenkov
tyof kernel > formats, > file systems, computer architectures and hardware devices. This subpackage > provides support for PC BIOS systems. > > > > >> Gesendet: Mittwoch, 14. September 2016 um 10:04 Uhr >> Von: "Andrei Borzenkov" <arvidj...@

Re: grub search - reboot ?

2016-09-14 Thread Andrei Borzenkov
13.09.2016 14:40, devz...@web.de пишет: > hi, > > i`m curious, what is the expected behaviour of the grub "search" > command? > > i.e. if i have > > search --no-floppy --fs-uuid --set=root > > what should happen if uuid is NOT found ? > Command terminates with error code, variable is not

Re: Remove grub messaging on the happy-path

2016-09-14 Thread Andrei Borzenkov
02.09.2016 00:11, Joshua Warner пишет: > Hi, > > I'm looking to remove grub messaging from the boot cycle, unless something > goes wrong. I like my boot screens to have as little mode-change flashing > and text flying past as possible, from an aesthetic perspective. Plus, they > might scare

Re: Grub 2.02~beta3 build

2016-08-20 Thread Andrei Borzenkov
19.08.2016 20:09, Ananth, Rajesh пишет: > Hello, > > I downloaded the Grub 2.02~beta3 source and did a successful build. I > couldn't find the "linuxefi.mod" generated after the make, as I need > that for the EFI based boot. I looked for help on how to generate > that and I think I am missing

Re: GRUB2 and mkstandalone for PXE Booting

2016-08-12 Thread Andrei Borzenkov
12.08.2016 23:05, Dan Powers пишет: > Hello All, > I have a question about grub-mkstandalone. Perhaps this is a Debian > question but I thought I would start here. I am running version > 2.02~beta2-22+deb8u1. I've been staring at the man page as well as digging > through the help-grub archive and

Re: Grub2 does not detect any devices

2016-08-10 Thread Andrei Borzenkov
On Wed, Aug 10, 2016 at 3:18 PM, Maxim Blinov wrote: > Hi, I'm having some trouble with (what I suspect) a custom core.img binary > to work. > > I have a 1Gb HDD image (created using bximage for Bochs), onto which I wish > to install Grub 2. There is no OS present. > > I

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

2016-08-07 Thread Andrei Borzenkov
07.08.2016 12:37, Xen пишет: > Grub installs efi kernels into grub.cfg with grub-mkconfig on non-uefi > systems. > 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. > The Ubuntu

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

2016-07-30 Thread Andrei Borzenkov
You still provided no evidence that any bootloader sees disks in BIOS on this system. 31.07.2016 01:13, Xen пишет: > Andrei Borzenkov schreef op 30-07-2016 20:49: > I was going to try to see what would happen if I used a device.map to > install grub on the array: > > # g

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

2016-07-30 Thread Andrei Borzenkov
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? > Grub will just not see any devices. It will fail with a message that > (hd0) could not be found. > > "ls" then

Re: Using acpi line to load DSDT table at runtime - Linux 16.04

2016-07-28 Thread Andrei Borzenkov
On Thu, Jul 28, 2016 at 12:40 PM, <sawb...@xsmail.com> wrote: > Good morning: > > On 28 Jul 2016 at 9:06, Andrei Borzenkov wrote: > >> What is "grub kernel command line"? Please explain what you did. > Please excuse me for not explaining myself correc

Re: Starting physical address to load real mode kernel

2016-07-27 Thread Andrei Borzenkov
27.07.2016 10:15, Habeeb P пишет: > Hi > I am reading through Linux booting process. > While reading one article, it mention that boot loader loads real mode > kernel code below 640K and the actual physical address ( below 640K) > depends upon boot loader. > So my question is, > If I am using

Re: Using acpi line to load DSDT table at runtime - Linux 16.04

2016-07-27 Thread Andrei Borzenkov
27.07.2016 15:37, carlos izzo videla пишет: > Hello: > > Like many others, my motherboard (Sun Ultra 24) has ACPI problems caused > by a very badly written BIOS, to the extent of reporting itself to MS > Windows as a laptop. > > I use Mint 18 64 bit, a W7 drive came with the workstation and I'm

Re: Is GRUB2 customizeable enough?

2016-07-25 Thread Andrei Borzenkov
On Mon, Jul 25, 2016 at 1:01 PM, Simon Hobson wrote: > Ah, another feature I'd never heard of. I do recall in the past the advice > handed out here (as an alternative to renaming the files in /etc/grub to get > Xen to boot by default for example) was to specify the

Re: Is GRUB2 customizeable enough?

2016-07-25 Thread Andrei Borzenkov
On Mon, Jul 25, 2016 at 12:01 PM, Simon Hobson wrote: > Slightly modify the files in (rom memory) /etc/grub that build grub.cfg. > Arrange for your primary "safe" OS to have a distinct label, then set that > label as the default OS. If we are speaking about grub2, you

Re: Is GRUB2 customizeable enough?

2016-07-22 Thread Andrei Borzenkov
22.07.2016 18:21, Richard Owlett пишет: > I will be experimenting with multiple Linux installs on different > partitions of the same hard disk. [initially various tweaks to Debian > Jessie from the same physical set of distribution DVDs] > > The boot menu display *SHALL*: > 1. display in

Re: What is GRUB GDT Physical address

2016-07-20 Thread Andrei Borzenkov
20.07.2016 21:37, Habeeb P пишет: > Hi > > I know that GRUB stage 1 loads stage2 at location 0x8000. I would like to > know the exact location of GDT set by GRUB. > http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/kern/i386/realmode.S > Why Kernel need to create a new GDT ( I know that

Re: Looking for specific Debug grub-legacy version source code

2016-07-19 Thread Andrei Borzenkov
11.07.2016 17:09, Kosta Zertsekel пишет: >>> Well, I tried to find the git of grub-legacy, but in vain. >> Really? You were not insisting enough ... >> http://git.savannah.gnu.org/cgit/grub.git/log/?h=grub-legacy > > Unfortunately (as I explained in the first email in the thread), > I need

Re: boot error: zfs + luks + grub

2016-07-12 Thread Andrei Borzenkov
se the >> --disk-module=native flag, but it does not seem to notice that these >> disks are encrypted. >> >> I've slightly modified my partition tables to simplify the process, so the >> output from BIS script: http://pastebin.com/raw/gVF6Fep2 >> >> Hopefull

Re: Looking for specific Debug grub-legacy version source code

2016-07-11 Thread Andrei Borzenkov
On Sun, Jul 10, 2016 at 12:45 PM, Kosta Zertsekel wrote: > > Well, I tried to find the git of grub-legacy, but in vain. Really? You were not insisting enough ... http://git.savannah.gnu.org/cgit/grub.git/log/?h=grub-legacy ___

Re: Order of operating systems

2016-07-04 Thread Andrei Borzenkov
04.07.2016 20:18, Nikhil Prakash пишет: > I have recently installed a linux distro along with windows. By > default it came with GNU GRUB, with linux distro at the top and > windows at the bottom of the list in the boot option. I want the > change this order, can you help me with that? All

Re: GRUB2 Enable Debug Messages

2016-06-30 Thread Andrei Borzenkov
30.06.2016 01:11, ARMANDO FERREIRA LEE ENG пишет: > Hi All, > > > Is there a way to enable some debug messages of GRUB2? I don't mean > Kernel Debug Messages, what I want is the GRUB2 Bootloader Messages. > This for some firmware debugging purpose. :) > set debug=foo,bar,baz where "foo",

Re: Identifying diskless computers

2016-06-23 Thread Andrei Borzenkov
24.06.2016 00:16, das...@gmail.com пишет: > I am using a USB drive with grub to boot up a few diskless computers. Is > there a way for grub to know which of the computers it is running on? To > be able to automatically pick the right kernel & initrd on the USB key. > > Ethernet controllers happen

Re: Failure is not returned by grub-mkrescue

2016-06-21 Thread Andrei Borzenkov
On Mon, Jun 20, 2016 at 10:48 PM, Wink Saville wrote: > I'm using grub-mkrescue in a script and I wasn't seeing an error on bad > input. Below is a test showing no failure is reported even though the input > file, xx, does not exist: > > $ grub-mkrescue -o xx.img xx > xorriso

Re: boot error: zfs + luks + grub

2016-06-19 Thread Andrei Borzenkov
lable? > On Wed, Jun 15, 2016 at 11:28 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: > >> 16.06.2016 00:52, James пишет: >>> Hello, >>> >>> Hoping to get some help with a (seemingly basic) setup I'm struggling >> with. >>>

Re: boot error: zfs + luks + grub

2016-06-15 Thread Andrei Borzenkov
16.06.2016 00:52, James пишет: > Hello, > > Hoping to get some help with a (seemingly basic) setup I'm struggling with. > > I'm using Ubuntu Xenial (16.04) and installing on ZFS on LUKS which, as far > as I have read, is supported. A reboot after going through the installation > process results

Re: Why does big black box appear over by GRUB2 theme when booting?

2016-06-10 Thread Andrei Borzenkov
s bug report for reason why it was removed https://bugzilla.opensuse.org/show_bug.cgi?id=776244 > Thanks, > Ed > > On Thu, Jun 9, 2016 at 1:26 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: > >> >> >> Отправлено с iPhone >> >>> 8 июня 20

Re: Why does big black box appear over by GRUB2 theme when booting?

2016-06-09 Thread Andrei Borzenkov
Отправлено с iPhone > 8 июня 2016 г., в 22:02, Ed Hartnett > написал(а): > > I made a nice GRUB2 theme, which gives me a screen like this: > > http://s33.postimg.org/qe6gm7e0f/screen_small.png > > When I make my selection and start to boot, for about 10

Re: Finding the root device of a labeled partition

2016-06-03 Thread Andrei Borzenkov
On Fri, Jun 3, 2016 at 12:38 PM, Simon Wydooghe wrote: > Cheers Andrei, that works perfectly! Never would have found out about the > regexp command I think. > > To answer your question why I don't want to alter the bootloader location: > these USB sticks get

Re: Finding the root device of a labeled partition

2016-06-02 Thread Andrei Borzenkov
02.06.2016 14:34, Simon Wydooghe пишет: > Hi, > > I have a specific problem I'm trying to solve. I'm trying to chainload the > MBR of a USB stick based on the label of one of the partitions on the USB > stick. I can search and set the root partition as follows: > > search --set=root --label

Re: 'device ...' line in grub.cfg

2016-06-02 Thread Andrei Borzenkov
es on specific device names (hd0, hd1 etc) then it is likely necessary. > David Kaspar [Dee'Kej] > Associate Software Engineer > Brno, Czech Republic > > RED HAT | TRIED. TESTED. TRUSTED. > Every airline in the Fortune 500 relies on Red Hat. > Find out why at Trusted | Red

Re: 'device ...' line in grub.cfg

2016-06-02 Thread Andrei Borzenkov
On Thu, Jun 2, 2016 at 5:11 PM, David Kaspar [Dee'Kej] wrote: > So, this is not some debugging info from grub UEFI? And grub actually reads > this during boot to find the specified device? > grub legacy or grub2? Reads *what*? Sorry, I still do not understand your question.

Re: 'device ...' line in grub.cfg

2016-06-02 Thread Andrei Borzenkov
[Dee'Kej] > Associate Software Engineer > Brno, Czech Republic > > RED HAT | TRIED. TESTED. TRUSTED. > Every airline in the Fortune 500 relies on Red Hat. > Find out why at Trusted | Red Hat. > > On Thu, Jun 2, 2016 at 3:48 PM, Andrei Borzenkov <arvidj...@gmail.com> &g

Re: 'device ...' line in grub.cfg

2016-06-02 Thread Andrei Borzenkov
On Thu, Jun 2, 2016 at 4:01 PM, Clayton Spicer wrote: > Hello everyone, > I'm looking into a high priority issue we have and trying to find out > what the 'device ' line does in grub.cfg. > > For example: > device (hd0) HD(1,123,123abc,01234567-89abcdef-01234567-89abcdef)

Re: Does core.img have a magic signature?

2016-06-01 Thread Andrei Borzenkov
01.06.2016 20:12, Mike Fleetwood пишет: > Hi, > > I would like to know if it is possible to recognise core.img when > written to a disk, especially written to a BIOS Boot partition (type > GUID 21686148-6449-6E6F-744E-656564454649)? Is there a signature that > can be checked? > Not really. You

Re: fallback option doesn’t work

2016-06-01 Thread Andrei Borzenkov
01.06.2016 12:38, Николай Сулейманов пишет: > I’ve set up grub with the following config: > > > set default=tftp > set fallback=sysrcd32 fallback value must be numeric (list of numbers). I believe it had been discussed, we need to find backward compatible way to extend it. So far "fallback" is

Re: Kernel options not passing in EFI image?

2016-05-24 Thread Andrei Borzenkov
cher.net> wrote: >>>> >>>> OK, will do it right now. >>>> >>>> Interesting note: why does mkrescue have --prefix='()/boot/grub' as an >>>> option to mkimage? I get that rather than loading all of the modules into >>>> th

Re: Kernel options not passing in EFI image?

2016-05-24 Thread Andrei Borzenkov
May 24, 2016 at 10:46 AM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: >> >> On Tue, May 24, 2016 at 10:43 AM, Avi Deitcher <a...@deitcher.net> wrote: >> > what does '()' signify? >> >> The (whole) device grub was booted from (as long a

Re: Kernel options not passing in EFI image?

2016-05-24 Thread Andrei Borzenkov
On Tue, May 24, 2016 at 10:43 AM, Avi Deitcher wrote: > what does '()' signify? The (whole) device grub was booted from (as long as this information is provided by firmware; it is for BIOS and EFI). '()' is replaced during initialization by actual device name referring to boot

<    1   2   3   4   5   6   7   >