Re: Kernel options not passing in EFI image?

2016-05-23 Thread Andrei Borzenkov
quired module is missing but grub skips over this and continues. Please test with grub-mkrescue first - it created bootable ISO which contains full grub. Using current GIT master (or at least 2.02~beat3) would be additional bonus. > On Friday, May 20, 2016, Andrei Borzenkov <arvidj...@gmai

Re: Kernel options not passing in EFI image?

2016-05-19 Thread Andrei Borzenkov
19.05.2016 10:36, Avi Deitcher пишет: > (I posted this on SO as well, but realized this more properly should be > posted here) > > I am building an EFI-bootable iso, use grub-mkimage to build my grub file > as BOOTX64.EFI. I then make a single efiboot.img as a FAT filesystem which > contains that

Re: Booting from offset

2016-05-18 Thread Andrei Borzenkov
18.05.2016 21:10, Diddier Hilarion пишет: > Hi, the problem is the following. > I have a hard disk with the first sector physically damaged (read or write > is not possible so there is not partition table), I would like to know if > it's possible to specify the root as the block device + an offset

Re: About multi-boot with OpenBSD, OpenIndiana and GNU/Linux. Grub don't detect OpenBSD and OpenIndiana.

2016-05-18 Thread Andrei Borzenkov
18.05.2016 21:00, nu...@openmailbox.org пишет: > On 2016-05-18 01:06, Andrei Borzenkov wrote: >> >> Please explain what this means. What you expect to see (and when) and >> what you actually see. > > Like I said: The GRUB doesn't recognize the others systems (OpenB

Re: About multi-boot with OpenBSD, OpenIndiana and GNU/Linux. Grub don't detect OpenBSD and OpenIndiana.

2016-05-17 Thread Andrei Borzenkov
17.05.2016 20:26, nu...@openmailbox.org пишет: > > >Well. Hello to everybody. > >I asked about my problem in the Trisquel GNU/Linux forum > [https://trisquel.info/en/forum/arranque-dual-con-openbsd-y-trisquel-grub-no-reconoce-openbsd]. > But, for what I'd see in other places, the

Re: background image on a usb-stick-grub (without update-grub)

2016-05-16 Thread Andrei Borzenkov
12.05.2016 22:43, c.bu...@posteo.jp пишет: > I have a Grub2 installed on a USB-Stick. > > This is the grub.cfg (created by myself!) > > insmod PNG > set gfxmode > background_image /boot/grub/background.png > > menuentry "Siduction LXQt" { > insmod iso9660 > insmod part_msdos >

Re: documentation about grub.cfg

2016-05-12 Thread Andrei Borzenkov
You like to be spoon fed? http://web.cvs.savannah.gnu.org/viewvc/?root=grub On Thu, May 12, 2016 at 12:46 PM, <c.bu...@posteo.jp> wrote: > On 2016-05-12 12:38 Andrei Borzenkov <arvidj...@gmail.com> wrote: >> Patches to improve web page are welcome. > > How? Your

Re: documentation about grub.cfg

2016-05-12 Thread Andrei Borzenkov
On Thu, May 12, 2016 at 12:21 PM, <c.bu...@posteo.jp> wrote: > On 2016-05-11 09:18 Andrei Borzenkov <arvidj...@gmail.com> wrote: >> . Official documentation is available on >> http://www.gnu.org/software/grub/manual/. > > Why are you "hidding"

Re: error: invalid signature

2016-05-11 Thread Andrei Borzenkov
11.05.2016 20:42, Adrian пишет: > hi, > > I would like to make a chainboot from an usb key to the third hd with > centOS. I installed grub2 at the usb key and created the grub2 file > inside the usb key (/boot/grub2/) > > grub.cfg: > > menuentry 'centosOS hd3' { > chainloader (hd3,1)+1 >

Re: documentation about grub.cfg

2016-05-11 Thread Andrei Borzenkov
. Official documentation is available on http://www.gnu.org/software/grub/manual/. It is a bit dated (it is for 2.00 while current version is 2.02~beta3) but it explains grub background and scripting language used in grub.cfg. On Wed, May 11, 2016 at 8:35 AM, wrote: > Hello,

Re: Extracting config file from GRUB EFI image

2016-05-04 Thread Andrei Borzenkov
05.05.2016 01:20, SevenBits пишет: > > On 05/03/2016 11:56 PM, Andrei Borzenkov wrote: >> 04.05.2016 06:49, SevenBits пишет: >>> On Tuesday, May 3, 2016, Andrei Borzenkov <arvidj...@gmail.com> wrote: >>> >>>> 04.05.2016 06:34, SevenBits пишет:

Re: Extracting config file from GRUB EFI image

2016-05-03 Thread Andrei Borzenkov
04.05.2016 03:57, SevenBits пишет: > I used this command to create a bootable GRUB UEFI image: > > ../grub-mkstandalone -d . -o ~/Desktop/boot.efi --format=x86_64-efi > --grub-mkimage=../grub-mkimage --install-modules="boot linux ext2 normal > configfile lspci ls help echo fat exfat hfs hfsplus

Re: Grub pxe image reboot as soon it loads.

2016-05-03 Thread Andrei Borzenkov
03.05.2016 09:44, Andrei Borzenkov пишет: > See above. It probably reboots because it cannot access its root/prefix. > It ideally should handle it more gracefully though. Care to file bug > report so it is not forgotten? > I fixed it, it was infinite recursion in attempt to

Re: Grub pxe image reboot as soon it loads.

2016-05-03 Thread Andrei Borzenkov
01.05.2016 17:25, dE пишет: > Hi! > I'm trying to make a grub pxe image to a execute an OS installed on > the local hard disk (this's the first thing I want to achieve). > > My first objective is to get the grub menu to show up (even if they're > wrong) and get a grub command prompt. > > The

Re: Add a new command in Grub2

2016-04-23 Thread Andrei Borzenkov
23.04.2016 09:21, Sun, Ning пишет: > Why there is no api reference doc or development doc for grub2? They are not > important to grub2 ? > Because somebody needs to write them. ___ Help-grub mailing list Help-grub@gnu.org

Re: Add a new command in Grub2

2016-04-23 Thread Andrei Borzenkov
23.04.2016 02:14, manik sheeri пишет: > Hi, > > I have an embedded system with grub2 as the bootloader and I am > required to write a new command to achieve some functionality. > > I looked at the manual and could not find any API references or > development manuals. > > Is there a reference

Re: /boot shared between different Linux installs?

2016-04-22 Thread Andrei Borzenkov
y this would be rootnoverify (hd1,0) chainloader +1 It counted zero based. Seems odd when the hdN references start > from 0. > > thanks. > > On Thu, Apr 21, 2016 at 11:28 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: >> >> 21.04.2016 22:00, drsmith пишет: &

Re: /boot shared between different Linux installs?

2016-04-22 Thread Andrei Borzenkov
On Fri, Apr 22, 2016 at 7:13 AM, Goh Lip <g@gmx.com> wrote: > > > On 22/04/16 11:28, Andrei Borzenkov wrote: > >> You can also load directly core.img without installing it, using >> multiboot /boot/grub/i386-pc/core.img >> Using current version (2.02~beta3)

Re: /boot shared between different Linux installs?

2016-04-21 Thread Andrei Borzenkov
21.04.2016 22:00, drsmith пишет: > I'm currently working on installing a server with two logical drives in it: > sda and sdb. Each logical drive is going to get an installation of Linux > and each install has a different purpose. The first install is mostly used > for recovery scenarios while

Re: Is objconv a requirement for building Grub?

2016-04-18 Thread Andrei Borzenkov
That's more in place on grub-devel. 19.04.2016 03:27, Eric Andrew Lewis пишет: > I'm trying to build a patched version of Grub from source on a Mac. I've > installed all the requirements in the INSTALL file, but got an error while > running ./configure > > configure: error: objconv not found

Re: Does Grub work well with latest OS X?

2016-04-17 Thread Andrei Borzenkov
16.04.2016 20:46, Eric Andrew Lewis пишет: > On Sat, Apr 16, 2016 at 12:13 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: > >> Does it work with rEFInd? How you boot OS X using rEFInd? > > Yeah, the trackpad works with rEFInd in OS X. I installed rEFInd via its

Re: Does Grub work well with latest OS X?

2016-04-16 Thread Andrei Borzenkov
16.04.2016 09:59, Eric Andrew Lewis пишет: > Andrei said: >> If you have solution that works what is the >> reason you want to replace it (i.e. - is something missing currently)? > > I'm cleaning up the Debian Mac install instructions, and would like to > provide good context for new dual boot

Re: Does Grub work well with latest OS X?

2016-04-16 Thread Andrei Borzenkov
16.04.2016 02:17, Eric Andrew Lewis пишет: > I'm currently using rEFInd for dual booting between OSX and Debian, but > curious about other options. > > Would you suggest a Mac user use Grub to dual boot between OSes? > Whatever works for you. If you have solution that works what is the reason

Re: grub2-install: Couldn't find physical volume ‘(null)’. (fwd)

2016-04-11 Thread Andrei Borzenkov
11.04.2016 22:18, Sam Varshavchik пишет: ... >> >> >> > [root@monster ~]# /sbin/grub2-install /dev/sdb >> >> >> > Installing for i386-pc platform. >> >> >> > /sbin/grub2-install: warning: Couldn't find physical volume >> >> ‘(null)’. >> >> >> > Some modules may be missing from core image.. >> >>

Re: grub2-install: Couldn't find physical volume ‘(null)’.

2016-04-11 Thread Andrei Borzenkov
11.04.2016 20:21, Sam Varshavchik пишет: > Andrei Borzenkov writes: > >> On Mon, Apr 11, 2016 at 1:56 PM, Sam Varshavchik >> <mr...@courier-mta.com> wrote: >> >> > [root@monster ~]# /sbin/grub2-install /dev/sdb >> >> > Installing for

Re: Re: grub2-install: Couldn't find physical volume ‘(null)’.

2016-04-11 Thread Andrei Borzenkov
On Mon, Apr 11, 2016 at 1:56 PM, Sam Varshavchik wrote: >> > [root@monster ~]# /sbin/grub2-install /dev/sdb >> > Installing for i386-pc platform. >> > /sbin/grub2-install: warning: Couldn't find physical volume ‘(null)’. >> > Some modules may be missing from core image.. >>

Re: Re: grub2-install: Couldn't find physical volume ‘(null)’.

2016-04-11 Thread Andrei Borzenkov
On Mon, Apr 11, 2016 at 1:56 PM, Sam Varshavchik <mr...@courier-mta.com> wrote: > Andrei Borzenkov writes: > >> 11.04.2016 05:03, Sam Varshavchik пишет: >> > grub 2.02, Fedora x86-64. >> > >> > I have /dev/sda and /dev/sdb in a RAID-1 configuration. T

Re: grub2-install: Couldn't find physical volume ‘(null)’.

2016-04-10 Thread Andrei Borzenkov
11.04.2016 05:03, Sam Varshavchik пишет: > grub 2.02, Fedora x86-64. > > I have /dev/sda and /dev/sdb in a RAID-1 configuration. This is the > Linux kernel's md-raid driver. > > /dev/sda started failing SMART. > > I ran /sbin/grub2-install /dev/sdb. My recollection is that it ran > without any

Re: Grub and nvme disk issue

2016-03-26 Thread Andrei Borzenkov
26.03.2016 06:27, Andrei Borzenkov пишет: > 25.03.2016 22:05, Benoit пишет: >> excuse me for the SPAM >> it is definitely an issue of Grub not generating a valid line. > > The EFI boot menu entries are managed by efibootmgr. It is of course > possible that GRUB is usin

Re: Grub and nvme disk issue

2016-03-25 Thread Andrei Borzenkov
lly? >> >> I read a tons of article regarding Grub and NVMe and lot are saying >> that it is not supported, or on the last version perhaps it is but I >> can't find a working solution unfortunately... >> >> On 03/25/2016 03:47 PM, Benoit wrote: >>> Thanks Andrei

Re: Grub and nvme disk issue

2016-03-25 Thread Andrei Borzenkov
On Fri, Mar 25, 2016 at 2:28 PM, Benoit wrote: > Hi Grub :) > > I use Grub for almost 10 years and I am in a situation where I am unable to > make it work on my brand new laptop :( > The laptop has a nvme disk and I read it could be the issue... > Grub version is : grub

Re: Boot from 4TB USB jhard drive

2016-03-20 Thread Andrei Borzenkov
20.03.2016 18:20, Emilio Lazo Zaia пишет: > > On 20/03/16 04:48, Andrei Borzenkov wrote: >> 20.03.2016 11:54, Andrei Borzenkov пишет: >>> So we additionally have regression against 2.00 :( >>> >>> Please test attached patch; it is the only real change in

Re: Boot from 4TB USB jhard drive

2016-03-20 Thread Andrei Borzenkov
20.03.2016 11:54, Andrei Borzenkov пишет: > > So we additionally have regression against 2.00 :( > > Please test attached patch; it is the only real change in biosdisk > driver comparing with 2.00. > Forget it. grub-mkrescue does not include partition driver in this cas

Re: Boot from 4TB USB jhard drive

2016-03-20 Thread Andrei Borzenkov
20.03.2016 09:38, Emilio Lazo Zaia пишет: > > On 20/03/16 00:35, Andrei Borzenkov wrote: >> (...) >> Create rescue image that can be used to boot off CD/USB >> >> pkgdatadir=$PWD ./grub-mkrescue -d grub-core -o /tmp/grub.iso >> >> This creates ISO image s

Re: Boot from 4TB USB jhard drive

2016-03-19 Thread Andrei Borzenkov
20.03.2016 02:18, Emilio Lazo Zaia пишет: > Hello > > I'm trying to boot off an WD MyBook 4TB disk (WDC WD40EZRX-00SPEB0) with > GRUB2. The disk has the following partition schema: > > -- > GPT fdisk (gdisk) version 1.0.1 > > Partition table scan: > MBR: protective > BSD: not present >

Re: How does the grub efi know where to look for the grub.cfg?

2016-03-07 Thread Andrei Borzenkov
07.03.2016 19:05, Arjun Krishnan пишет: > On Sun, Mar 6, 2016 at 10:33 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: > >> 06.03.2016 18:34, Arjun Krishnan пишет: >>> On Sat, Mar 5, 2016 at 10:35 PM, Andrei Borzenkov <arvidj...@gmail.com> >> wrote: &

Re: How does the grub efi know where to look for the grub.cfg?

2016-03-06 Thread Andrei Borzenkov
06.03.2016 18:34, Arjun Krishnan пишет: > On Sat, Mar 5, 2016 at 10:35 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: >> 05.03.2016 20:27, Arjun Krishnan пишет: >>> I installed grub-efi using >>> >>> grub-install --efi-directory=/mnt/efi --bo

Re: How does the grub efi know where to look for the grub.cfg?

2016-03-05 Thread Andrei Borzenkov
05.03.2016 20:27, Arjun Krishnan пишет: > I installed grub-efi using > > grub-install --efi-directory=/mnt/efi --boot-directory=/boot > --target=x86_64-efi > > I did not specify a root partition anywhere (like you used to have to, > when installing it to the mbr), so how does grub set its

Re: Which modules to include in the --module parameter of the grub-install command

2016-02-29 Thread Andrei Borzenkov
29.02.2016 20:11, Arbiel (gmx) пишет: > Hi > > Thank you for your input. > > > Le 28/02/2016 10:11, Andrei Borzenkov a écrit : >> >> ïÔÐÒÁ×ÌÅÎÏ Ó iPhone >> >>> 28 ÆÅ×Ò. 2016 Ç., × 12:02, Arbiel (gmx) >>> <arbiel.perlacre...@gmx.fr>

Re: Which modules to include in the --module parameter of the grub-install command

2016-02-28 Thread Andrei Borzenkov
Отправлено с iPhone > 28 февр. 2016 г., в 12:02, Arbiel (gmx) > написал(а): > > Hi > > I'm trying to help a user who experiences difficulties to boot a Ubuntu > distribution. grub does not display any message on the screen even when > entering the rescue mode (in

Re: Issues with device detection in an EFI/GPT scenario

2016-02-26 Thread Andrei Borzenkov
05.02.2016 02:03, Andreas Loew пишет: > Hello Andrei, > > Am 03.02.2016 um 20:07 schrieb Andrei Borzenkov: >> OK, that helps, thanks. Could you test attached patch? > SUCCESS! :-) > > I can confirm that this patch indeed fixes the issue for me! All error > messages o

Re: Problems with PXE + IPV6 + UEFI

2016-02-25 Thread Andrei Borzenkov
On Fri, Feb 26, 2016 at 8:12 AM, Jorge Cisneros wrote: > Hi All > >I setup my pxe environment using the grub-mkdirnet for EFI and legacy, in > both cases the ipv4 works very well, but when I try to use the ipv6 I got an > error and sent me to the rescue shell > > You can

Re: error on installing grub in a UEFI xen guest: " File system `fat' doesn't support embedding." & "embedding is not possible, but this is required for cross-disk install." ?

2016-02-23 Thread Andrei Borzenkov
23.02.2016 18:07, suse@fea.st пишет: > > > On Tue, Feb 23, 2016, at 07:02 AM, Andrei Borzenkov wrote: >>> Is GRUB efii-platform going to be added? >> >> Added to *what*? I do not understand what you mean. > > You said "You cannot use GRUB for

Re: error on installing grub in a UEFI xen guest: " File system `fat' doesn't support embedding." & "embedding is not possible, but this is required for cross-disk install." ?

2016-02-23 Thread Andrei Borzenkov
Отправлено с iPhone > 23 февр. 2016 г., в 17:06, suse@fea.st написал(а): > > > >> On Mon, Feb 22, 2016, at 09:24 PM, Andrei Borzenkov wrote: >> You cannot use GRUB for EFI platform in domU. You can use either legacy >> BIOS platform (i386-pc) on HVM gu

Re: error on installing grub in a UEFI xen guest: " File system `fat' doesn't support embedding." & "embedding is not possible, but this is required for cross-disk install." ?

2016-02-22 Thread Andrei Borzenkov
23.02.2016 04:25, suse@fea.st пишет: > I've installed an Arch linux DomU with Grub > > In the Guest, my mounts are > > LABEL=EFI -> /boot/efi vfat, boot flag > LABEL=BOOT -> /boot ext4 > LABEL=ROOT -> / ext4 > LABEL=SWAP -> swap swap > > My device map is > >

Re: Grub and GPT

2016-02-18 Thread Andrei Borzenkov
On Thu, Feb 18, 2016 at 12:40 PM, martin wrote: > > fitpc3 martin # grub-install /dev/sda > > Installing for i386-pc platform. > > Installation finished. No error reported. > > > (Only one system is presently installed.) > > > > Upon trying to start the system the

Re: Multiple boot from USB stick

2016-02-16 Thread Andrei Borzenkov
On Tue, Feb 16, 2016 at 1:08 PM, Karsten Malcher <deb...@home.decotrain.de> wrote: > Hello Andrei, > > Am 16.02.2016 um 10:48 schrieb Andrei Borzenkov: >> On Tue, Feb 16, 2016 at 12:37 PM, Karsten Malcher >> <deb...@home.decotrain.de> wrote: >>>> l

Re: Multiple boot from USB stick

2016-02-16 Thread Andrei Borzenkov
On Tue, Feb 16, 2016 at 12:37 PM, Karsten Malcher wrote: >> linux16 /memdisk iso >> initrd16 /fdbase.iso >> boot >> >> Does it suite as a concrete solution? :) >> > I was talking about the file FreeDOS_1.1.iso. > Where did you get this 2 iso files? There is one iso

Re: Multiple boot from USB stick

2016-02-15 Thread Andrei Borzenkov
14.02.2016 14:41, Karsten Malcher пишет: ... >> >> There were reports that is works using Sylinux memdisk with Smart Boot >> Manager. They can be loaded by GRUB if needed. > > That's what i mean - there are no examples how to master it. > I understand what must be done, but it is to complicated

Re: Grub allocating memory in high mem

2016-02-13 Thread Andrei Borzenkov
14.02.2016 09:43, Ramakrishna Maladi (rmaladi) пишет: > Hi > My current grub2.0, I don't see grub supporting memory allocation on high > mem > Is it supported in later versions? Why do not you compile later version and test if it works there? > Problem I see is that, low mem is getting

Re: Multiple boot from USB stick

2016-02-13 Thread Andrei Borzenkov
13.02.2016 20:28, Karsten Malcher пишет: > Hello, > > i want to setup an USB stick that is able to boot different OS form ISO. > But all examples i could found does end in errors like "error: no such > partition". > grub cannot "boot ISO". What is possible is to access filesystem on ISO and

Re: usb keyboard not functional in non-uefi mode

2016-02-11 Thread Andrei Borzenkov
On Thu, Feb 11, 2016 at 12:04 PM, Jan Gregor wrote: > Hello, > > my keyboard (microsoft natural 4000) doesn't work in boot managers Do you mean it also does not work in other boot managers, not only GRUB? > although it is functional in bios, windows, linux and uefi mode.

Re: Exporting a variable to use it in a submenu or menuentry function ?

2016-02-10 Thread Andrei Borzenkov
10.02.2016 14:34, Arbiel (gmx) пишет: > Hi > > Is it necessary to export a variable, set in the configuration file, to > be able to use it in a menuentry ? No, if it is set in the same variable context. > Does it matter whether the menuentry > is embedded or not in a submenu function ? > Yes.

Re: Exporting a variable to use it in a submenu or menuentry function ?

2016-02-10 Thread Andrei Borzenkov
t; Variables created in new context are lost when > context is destroyed (e.g. you exit submenu). May be I should have used "variables *set*". There is no way to propagate variables back to previous context. > Le 10/02/2016 17:56, Andrei Borzenkov a écrit : >> 10.02.2016 14:34

Re: Using conditionals in embedded config?

2016-02-06 Thread Andrei Borzenkov
nfiguration > > On 2016-02-06 00:42, Andrei Borzenkov wrote: >> 06.02.2016 06:24, Shea Levy пишет: >>> Hi all, >>> >>> How can I use if statements in an embedded config? When I try, I get >> >> You can't. embedded config is processed early usin

Re: Question about bash script on Grub/ or manipulate UEFI NVRAM via grub command line

2016-02-05 Thread Andrei Borzenkov
On Fri, Feb 5, 2016 at 5:24 PM, Michał Dobosz wrote: > Hello, > > I would like to inquire about scripts during Grub running. Is it possible to > add bash script during grub starting. > No, grub is not bash. grub implements command line processing similar to Unix shell and

Re: Using conditionals in embedded config?

2016-02-05 Thread Andrei Borzenkov
06.02.2016 06:24, Shea Levy пишет: > Hi all, > > How can I use if statements in an embedded config? When I try, I get You can't. embedded config is processed early using rescue mode parser which is very simple. Embedded config exists to locate device where grub is installed in case this

Re: Chainloading isolinux.bin

2016-02-03 Thread Andrei Borzenkov
anything. > > 2016-02-03 14:51 GMT+01:00 Andrei Borzenkov <arvidj...@gmail.com>: >> >> On Wed, Feb 3, 2016 at 3:20 PM, 4javier <4javier...@gmail.com> wrote: >> > chainloader /isolinux/isolinux.bin >> > >> > I always get Error: Invalid Signa

Re: Chainloading isolinux.bin

2016-02-03 Thread Andrei Borzenkov
an hex editor, it has just early byte >> wrote, and about 90% of the rest is just filled with zeros. I think it's due >> to blocksize. But I can't understand how it could be just 2KB when blocksize >> of the partition is 4096. Shouldn't it be 4 KB? >> >> 2016-02-03

Re: Enable touchscreen on Grub 2 menu

2016-02-03 Thread Andrei Borzenkov
03.02.2016 18:14, Michał Dobosz пишет: > Hello, > > I have installed Grub2 EFI on Microsoft Surface 3 Pro (tablet). I am > writing to inquire about touch screen. Is it possible to navigate between > entries within Grub2 menu using touch screen? It is not implemented currently. > Do you know any

Re: Issues with device detection in an EFI/GPT scenario

2016-02-03 Thread Andrei Borzenkov
03.02.2016 03:16, Andreas Loew пишет: > > which then is followed by debug messages "opening hd0", "scanning for > DISKFILTER devices on hd0" and finally "reading sectors at the > sector from hd0" OK, that helps, thanks. Could you test attac

Re: Is there a way to specify all blocks in the block list syntax?

2016-02-02 Thread Andrei Borzenkov
02.02.2016 22:53, Alan Perry пишет: > What is the blocksize for the blocks specified in the blocklist? > Filesystem blocksize (2048 in my case since the filesystem is iso-9660), > 512 or something else? > GRUB sector is always 512 bytes. ___ Help-grub

Re: Is there a way to specify all blocks in the block list syntax?

2016-02-02 Thread Andrei Borzenkov
On Tue, Feb 2, 2016 at 6:20 AM, Alan Perry wrote: > > Is there a way in the blocklist syntax (e.g., "(hd0)0+100" to specify blocks > 0-99 of hd0) to specify all blocks? It looks like the offset is optional, > but the length is required. > Yes, looks like it. > Is there

Re: Issues with device detection in an EFI/GPT scenario

2016-01-30 Thread Andrei Borzenkov
31.01.2016 05:05, Andreas Loew пишет: > >> What exactly you consider a bug here? Order of device enumeration is >> not a bug and is not going to be changed without very good reasons. >> Errors when you explicitly try to read from drive without inserted >> media are normal and expected - how do

Re: How to enumerate files in a directory using the builtin shell?

2016-01-29 Thread Andrei Borzenkov
29.01.2016 17:56, Thiago Padilha пишет: > Jordan, thanks for the help > > Unfortunately, the "insmod regexp" line is not working for me, at least not > from the configuration file. This my grub.cfg: ... > > search.fs_uuid 1b3fdfe0-99cb-4aba-9acd-695b84be63cc btrfs hd0,gpt3 > insmod

Re: grub2-mkconfig generates wrong grub.cfg with multi-device btrfs root

2016-01-28 Thread Andrei Borzenkov
On Thu, Jan 28, 2016 at 11:09 AM, Juan Orti Alcaine wrote: > Hello, > > I ask for help in this mailing list after first reporting this bug to > Fedora bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1294532 > https://savannah.gnu.org/bugs/?45709 I have some patch

Re: Problem with boot from USB drive

2016-01-28 Thread Andrei Borzenkov
On Thu, Jan 28, 2016 at 4:24 PM, Michael Heseltine wrote: > >> error hd1: cannot get C/H/S values. > Does disk exist? Does your BIOS support USB devices in the first place? Please show "ls -l" output in GRUB CLI. > I have googled a bit and found the

Re: Grub interactive menu missing from Xen PVHVM DomU's 'serial console' output. All the other output is there - just the menu is missing?

2016-01-26 Thread Andrei Borzenkov
On Tue, Jan 26, 2016 at 3:02 AM, wrote: > I'm launching a Xen PVHVM DomU linux64 guest on a Xen 4.6.0 server. > > I set up the guest to direct serial/console output to the shell/terminal I > launch the guest from. > > Works like you expect - all the detailed info you want

Re: Grub interactive menu missing from Xen PVHVM DomU's 'serial console' output. All the other output is there - just the menu is missing?

2016-01-26 Thread Andrei Borzenkov
On Tue, Jan 26, 2016 at 5:06 PM, <suse@fea.st> wrote: > Hi Andrei > > On Tue, Jan 26, 2016, at 12:37 AM, Andrei Borzenkov wrote: >> Do you get output in GRUB CLI (I expect yes, because last line is >> printed)? What is output of >> >> terminal_output

Re: Grub interactive menu missing from Xen PVHVM DomU's 'serial console' output. All the other output is there - just the menu is missing?

2016-01-26 Thread Andrei Borzenkov
26.01.2016 17:30, suse@fea.st пишет: > Hi Andrei, > >>> Do I need to force the grubcli somehow? >>> >> >> Usually you press `c' while in menu. > > I didn't think that'd work cuz I don't HAVE a menu, but it does! > You have menu, it just is not visible. >> Do you get output in GRUB CLI (I

Re: [grub] Experiencing difficulties to access USB key files

2016-01-25 Thread Andrei Borzenkov
25.01.2016 21:45, Arbiel (gmx) пишет: >>> >>> I got a program error : >>> >>> env LANG=all sudo grub-install --boot-directory=/mnt/boot >>> --disk-module=native /dev/sdd >>> grub-install: --disk-module: (PROGRAM ERROR) Option should have been >>> recognized!? >>> Try 'grub-install --help' or

Re: [grub] Experiencing difficulties to access USB key files

2016-01-25 Thread Andrei Borzenkov
25.01.2016 11:20, Arbiel (gmx) пишет: >>> Do you mean that "hd0,msdos1" and so on, are sort of symbols for >>> information understood by the BIOS that grub own drivers do not understand ? >> hd0 refers to disk accessible via BIOS. USB mass storage accessible >> directly using USB drivers would be

Re: [grub] Experiencing difficulties to access USB key files

2016-01-25 Thread Andrei Borzenkov
d as shown at the end of the message > > Le 23/01/2016 13:08, Andrei Borzenkov a écrit : >> 23.01.2016 14:39, Arbiel (gmx) пишет: >>>> But GRUB does not have driver to access this hard disk anymore. Current >>>> GRUB disables BIOS access as soon as these modules are

Re: [grub] Experiencing difficulties to access USB key files

2016-01-23 Thread Andrei Borzenkov
23.01.2016 14:39, Arbiel (gmx) пишет: >> But GRUB does not have driver to access this hard disk anymore. Current >> GRUB disables BIOS access as soon as these modules are loaded. If you >> want to test them, please always use "nativedisk" GRUB command which >> attempts to replace device name in

Re: [grub] Experiencing difficulties to access USB key files

2016-01-22 Thread Andrei Borzenkov
22.01.2016 15:56, Arbiel (gmx) пишет: >>> 1) his USB key is seen by grub as a floppy disk ; the ls command lists >>> it as (fd1) ; so I suppressed --no-floppy from the search command >>> parameters. To no avail. >> How do you know it is this USB stick? What "ls -l" shows? Can you read >> something

Re: [grub] Experiencing difficulties to access USB key files

2016-01-21 Thread Andrei Borzenkov
21.01.2016 14:52, Arbiel (gmx) пишет: > Hi > > I have written a grub file for booting from PCs which do not provide a > "from USB key" booting. > > The USB keys to be used are supposed to be msdos compatible (not GPT), > grub has to have been installed in their first sectors as usual, and the >

Re: Can't boot when usb drive is attached

2016-01-20 Thread Andrei Borzenkov
On Wed, Jan 20, 2016 at 2:38 PM, Ingrid Ribeiro < ingrid.ribe...@klastelecom.com> wrote: > Hello all, > > I have this grub.cfg: > > I do not see anything. > The problem I'm having is that whenever there is an usb (non-bootable) > drive attached to my system, grub detects it as hd0 and the hard

Re: grub2 not able to boot 1G size of linux iso file

2016-01-17 Thread Andrei Borzenkov
) >>echo "Loading Kernel.." >>linux (loop)/boot/bzImage root=/dev/ram install=/dev/sda >> console=ttyS0,38400 prod=1 crashkernel=192M@0 bigphysarea=10M quiet >> pci=assign-busses noissu aer=off pci=hpmemsize=0M,hpiosize=0 >>echo "

Re: grub2 not able to boot 1G size of linux iso file

2016-01-10 Thread Andrei Borzenkov
pci=hpmemsize=0M,hpiosize=0 > echo "Loading initrd.." > initrd (loop)/boot/initrd.img > } > This looks pretty normal. I'm not sure what "Booting from USB" is supposed to indicate. But in any case - you need to check whether error comes from GRUB or s

Re: grub2 not able to boot 1G size of linux iso file

2016-01-09 Thread Andrei Borzenkov
10.01.2016 08:11, Ramakrishna Maladi (rmaladi) пишет: > Friends, > On broad well-DE intel CPU chipset when I run grub2.0 to load my linux > (Windriver destro of) iso file 1.2G, I am seeing an exception > Would it be the EFI boot sevices issue in BIOS or an known issue on grub2.0 > ? >

Re: Install failes after md raid replace

2016-01-04 Thread Andrei Borzenkov
05.01.2016 10:10, Andrei Borzenkov пишет: > 04.01.2016 22:19, Tobias Lang пишет: >> >> And I would be interested in fixing this problem and making the system >> bootable again (which I would suppose it cannot do right now). Any ideas? >> > > I still cannot re

Re: Install failes after md raid replace

2016-01-04 Thread Andrei Borzenkov
04.01.2016 12:40, Tobias Lang пишет: > Hi everybody, > > after the replacement of a faulty disk in a md raid setup (Raid 1), we > are not able to update grub. > > The system is an Ubuntu 12.04.5 LTS, with the latests patches installed, > and running Linux version 3.2.0-95-generic

Re: Halt command in UEFI reboots.

2016-01-02 Thread Andrei Borzenkov
02.01.2016 17:17, Goh Lip пишет: > > [**] - Machine: Mobo: ASUSTeK model: P8B75-V v: Rev X.0x > Bios: American Megatrends v: 0414 date: 04/24/2012 > For the record - it was problem of ACPI table parsing on this motherboard, fixed now. ___ Help-grub

Re: Halt command in UEFI reboots.

2016-01-01 Thread Andrei Borzenkov
01.01.2016 19:46, Goh Lip пишет: > Issuing "halt" command in grub prompt reboots the computer instead of > shutting down completely. This happens only in UEFI systems and not in > bios-legacy which works as it should. Computer does power down but > restarts again. > > Is there another command

Re: Cannot boot from dual bios/uefi boot CD

2015-12-22 Thread Andrei Borzenkov
On Sat, Feb 28, 2015 at 2:09 PM, John Frankish wrote: >> Yes, I have reproduced it now. The reason is, grub-mkrescue adds commands to >> load all partition drivers to embedded >> config and if some of them (or may be the last one) is missing it sets error >>

Re: Booting El Torito image from a partition table

2015-12-10 Thread Andrei Borzenkov
11.12.2015 02:29, Emilio Lazo Zaia пишет: ... >> bor@bor-Latitude-E5450:~$ grub-mkimage -O i386-pc -o /tmp/temp.img -p >> '(,msdos2)/boot/grub' -d /tmp/kasp/boot/grub/i386-pc biosdisk >> part_msdos iso9660 ... > Indeed, I did include part_gpt and the prefix as '(,gpt20)/boot/grub'... > The

Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot

2015-12-05 Thread Andrei Borzenkov
05.12.2015 20:12, Mat Troi пишет: > On Fri, Dec 4, 2015 at 11:21 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: > >> 05.12.2015 10:01, Mat Troi пишет: >>> On Fri, Dec 4, 2015 at 10:23 PM, Andrei Borzenkov <arvidj...@gmail.com> >>> wrote: >&g

Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot

2015-12-04 Thread Andrei Borzenkov
05.12.2015 10:01, Mat Troi пишет: > On Fri, Dec 4, 2015 at 10:23 PM, Andrei Borzenkov <arvidj...@gmail.com> > wrote: > >> 05.12.2015 06:25, Mat Troi пишет: >>> Hi, >>> >>> Sorry if the info I gave is vague, I am trying to learn how would Secure &

Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot

2015-12-03 Thread Andrei Borzenkov
03.12.2015 22:59, Mat Troi пишет: > Hi, > > If using sign grub for Secure Boot, I cannot use search_fsuuid in the > configuration for grub as the uuid is different. Is there a way to write a > configuration that will let me find the current UEFI boot and set that as > root? Or is there a way to

Re: Replacement for search_fsuuid in grub-signed for UEFI Secure Boot

2015-12-03 Thread Andrei Borzenkov
hat grub-install does anyway if UUIDs are not reliable - it creates file with unique name and searches for it. Or you can simply hardcode partition number. But I guess all above was already known, in which case you are better ask real question you want to know :) > > On Thursday, December

Re: Booting El Torito image from a partition table

2015-12-01 Thread Andrei Borzenkov
30.11.2015 23:16, Emilio Lazo Zaia пишет: >> Did you consider using syslinux loopback driver? This way ISO would >> appear as ISO (or at least non-partitioned device) to GRUB. It may >> work ... >> > I don't know how loopback on syslinux works. I guess is like the GRUB > loopback module, i.e. make

Re: Booting time change between manual selection and default boot

2015-11-29 Thread Andrei Borzenkov
29.11.2015 20:25, chocho 92 пишет: > 2015-11-29 18:15 GMT+01:00 Andrei Borzenkov <arvidj...@gmail.com>: > >> 29.11.2015 20:08, chocho 92 пишет: >>> 2015-11-29 17:19 GMT+01:00 Andrei Borzenkov <arvidj...@gmail.com>: >>> >>>> 29.11.2015 15:58

Re: Booting time change between manual selection and default boot

2015-11-29 Thread Andrei Borzenkov
29.11.2015 15:58, chocho 92 пишет: > Hi everyone, > > I've just made a fresh install of linux mint on my pc on a new ssd without > any other operating system, and I've got a strange issue that I can't get > ride of it. > > If I let the pc boots alone it takes times and in the dmesg output we can

Re: How to specify filenames containing spaces in kernel parameters?

2015-11-29 Thread Andrei Borzenkov
29.11.2015 08:49, JM Doule пишет: > How can a filename that contains spaces be specified in a kernel > parameter? > linux /vmlinuz "foo bar" In GRUB "foo bar" will be quoted and passed as single parameter to "linux" command, then GRUB will add quotes again before building kernel command line so

Re: Booting El Torito image from a partition table

2015-11-28 Thread Andrei Borzenkov
28.11.2015 21:34, Emilio Lazo Zaia пишет: > > On 28/11/15 13:50, Andrei Borzenkov wrote: >> 28.11.2015 21:16, Emilio Lazo Zaia пишет: >>> On 28/11/15 13:31, Andrei Borzenkov wrote: >>>> 28.11.2015 19:55, Emilio Lazo Zaia пишет: >>>>> Of course iso

Re: Booting El Torito image from a partition table

2015-11-28 Thread Andrei Borzenkov
28.11.2015 23:05, Emilio Lazo Zaia пишет: > > On 28/11/15 14:30, Andrei Borzenkov wrote: >> 28.11.2015 21:34, Emilio Lazo Zaia пишет: >>> In such disk there are more than one iso9660 partitions, so there is >>> also some syslinux menu to select >>> w

Re: Booting El Torito image from a partition table

2015-11-27 Thread Andrei Borzenkov
28.11.2015 00:30, Emilio Lazo Zaia пишет: > Hello > > I have a bootable iso9660 hybrid image (mbr + eltorito) that was made > with GRUB2 as its boot loader. > > I would like to boot this ISO image from a partition table, i.e. boot > into this ISO image but dumping the image to a partition on a

Re: grub in mac

2015-11-14 Thread Andrei Borzenkov
t;ret = grub_util_get_fd_size_os (fd, name, log_secsize);” to be execute, then everything work. I am using this command "hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount hd.img” to mount my loopback. thanks from Peter Andrei Borzenkov <arvidj...@gmail.com> 於 2015年11月13日 上午2:13 寫道:

Re: grub in mac

2015-11-12 Thread Andrei Borzenkov
12.11.2015 13:16, mcheun...@hotmail.com пишет: I am in mac, grub called grub_util_get_fd_size() in unix/hostdisk.c, should i copy it to apple/hostdisk.c and fix the bug? Apparently GRUB expects char devices on Apple. Try grub-install ... /dev/rdisk2 instead. If it does not work, please

Re: grub in mac

2015-11-11 Thread Andrei Borzenkov
On Thu, Nov 12, 2015 at 10:29 AM, Peter Cheung wrote: > Thanks, i am trying to fix this in code, but i am too new to grub coding. I > want to print out something in ./grub-core/kern/disk_common.c, so i do > "grub_util_info("peter\n");" and add "include " on the top > of the

<    1   2   3   4   5   6   7   >