Re: F16 Alpha GRUB install failure
On Mon, 2012-02-13 at 17:21 +0100, valent.turko...@gmail.com wrote: > This is a really mayor but and I don't understand it why it fails when > I tried grub2-install --force then grub installs without issues :( > This should have been a blocker Fedora bug. anaconda already uses grub2-install --force, and installation to a partition does not *generally* fail - it's failing in your specific case for some reason I don't know, but it's not the case that *any* attempt to install grub2 to a partition with F16 fails. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Mon, 2012-02-13 at 14:25 -0700, Chris Murphy wrote: > > On Feb 13, 2012, at 9:16 AM, valent.turko...@gmail.com wrote: > > > > I did Fedora 16 Respin iso install with all latest packages, including > > latest Anaconda package, and still had this issue. > > > > There were two ntfs partitions (Windows 7 + data partition) and 30 GB > > of free space. > > > > From 30GB free space I created > > /root # 200 MB, ext4 > > /swap # 2.5 GB, swap > > / # 8.0 GB, ext4 > > /home # 19 GB, btrfs > > > > grub2 install fails miserably :( > > > > Are there any updates regarding this bug? > > I think the problem is GRUB2's own install script/app, doesn't do a great job > of accounting for disks partitioned where the 1st partition comes less than > 35KB after the MBR, and as the core.img is too large it fails to install > between the MBR and partition 1. > > Strangely though, anaconda manages to get it to install without a complaint. No, that's clearly not the problem here, because this thread is about installing grub to the front of a partition - *not* to the MBR. I'm not sure why it's failing for Valent when it does usually manage to do this successfully, but it's definitely not the issue with the post-MBR 'embedding area' being too small. That's an entirely separate issue. anaconda only calls grub2-install, with appropriate parameters, to install grub. It doesn't do anything particularly special or clever. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, Aug 26, 2011 at 12:20 AM, Adam Williamson wrote: > On Thu, 2011-08-25 at 15:59 -0500, David Lehman wrote: >> On Thu, 2011-08-25 at 22:56 +0200, Michael Schwendt wrote: >> > Between TC1 and release of F16 Alpha, something must have changed to the >> > worse with regard to installing GRUB to a partition's primary sector. >> > Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. >> > Anaconda now reports failure to install, and I've found this on virtual >> > console: >> > >> > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a >> > partitionless disk or to a partitionj. This is a BAD idea.. >> > >> > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be >> > installed in this setup using blocklists. However, blocklists are >> > UNRELIABLE and their use is discouraged.. >> > >> > /usr/sbin/grub2-setup: error: will not proceed with blocklists. >> > >> > Bug or feature? >> >> Both? https://bugzilla.redhat.com/show_bug.cgi?id=728742 > > Also see: > > https://fedoraproject.org/wiki/Common_F16_bugs#grub2-partition-fail > -- > Adam Williamson > Fedora QA Community Monkey > IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora > http://www.happyassassin.net > This is a really mayor but and I don't understand it why it fails when I tried grub2-install --force then grub installs without issues :( This should have been a blocker Fedora bug. -- follow me - www.twitter.com/valentt & http://kernelreloaded.blog385.com linux, anime, spirituality, wireless, scuba, linuxmce smart home, zwave ICQ: 2125241, Skype: valent.turkovic, MSN: valent.turko...@hotmail.com -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Thu, Aug 25, 2011 at 10:59 PM, David Lehman wrote: > On Thu, 2011-08-25 at 22:56 +0200, Michael Schwendt wrote: >> Between TC1 and release of F16 Alpha, something must have changed to the >> worse with regard to installing GRUB to a partition's primary sector. >> Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. >> Anaconda now reports failure to install, and I've found this on virtual >> console: >> >> /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a >> partitionless disk or to a partitionj. This is a BAD idea.. >> >> /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be >> installed in this setup using blocklists. However, blocklists are >> UNRELIABLE and their use is discouraged.. >> >> /usr/sbin/grub2-setup: error: will not proceed with blocklists. >> >> Bug or feature? > > Both? https://bugzilla.redhat.com/show_bug.cgi?id=728742 I did Fedora 16 Respin iso install with all latest packages, including latest Anaconda package, and still had this issue. There were two ntfs partitions (Windows 7 + data partition) and 30 GB of free space. From 30GB free space I created /root # 200 MB, ext4 /swap # 2.5 GB, swap / # 8.0 GB, ext4 /home # 19 GB, btrfs grub2 install fails miserably :( Are there any updates regarding this bug? -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Sat, Aug 27, 2011 at 10:47 AM, Michael Schwendt wrote: > On Sat, 27 Aug 2011 07:50:39 -0400, TH (Tom) wrote: >> > On Fri, 26 Aug 2011 11:47:15 -0400, TH (Tom) wrote: >> > >> >> > # grub2-install --grub-setup=/bin/true '(hd0,3)' >> >> > Installation finished. No error reported. >> >> >> >> AFAIK, this won't be bootable, unless grub-install has run >> >> successfully before, because that all that the above commands are >> >> doing is populating "/boot/grub2/". >> > >> > it's from a comment in bz 728742 >> > >> > With warnings telling me something "is not possible", I stopped reading >> > them again and missed the "Installation finished. No error reported." >> > at the end. It simply got lost in the noise. No line prefix for the >> > final status message. >> > When using --force it is too late to warn about something that is >> > "UNRELIABLE" and "discouraged". >> >> As I said in my earlier email, unless grub-install has run >> successfully (which it has in your case because you used "--force"), >> using "...--grub-setup=/bin/true..." will not install grub. > > I didn't mean to disagree. Sorry, misunderstood you. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Sat, 27 Aug 2011 07:50:39 -0400, TH (Tom) wrote: > > On Fri, 26 Aug 2011 11:47:15 -0400, TH (Tom) wrote: > > > >> > # grub2-install --grub-setup=/bin/true '(hd0,3)' > >> > Installation finished. No error reported. > >> > >> AFAIK, this won't be bootable, unless grub-install has run > >> successfully before, because that all that the above commands are > >> doing is populating "/boot/grub2/". > > > > it's from a comment in bz 728742 > > > > With warnings telling me something "is not possible", I stopped reading > > them again and missed the "Installation finished. No error reported." > > at the end. It simply got lost in the noise. No line prefix for the > > final status message. > > When using --force it is too late to warn about something that is > > "UNRELIABLE" and "discouraged". > > As I said in my earlier email, unless grub-install has run > successfully (which it has in your case because you used "--force"), > using "...--grub-setup=/bin/true..." will not install grub. I didn't mean to disagree. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, Aug 26, 2011 at 12:52 PM, Michael Schwendt wrote: > On Fri, 26 Aug 2011 11:47:15 -0400, TH (Tom) wrote: > >> > # grub2-install --grub-setup=/bin/true '(hd0,3)' >> > Installation finished. No error reported. >> >> AFAIK, this won't be bootable, unless grub-install has run >> successfully before, because that all that the above commands are >> doing is populating "/boot/grub2/". > > it's from a comment in bz 728742 > > With warnings telling me something "is not possible", I stopped reading > them again and missed the "Installation finished. No error reported." > at the end. It simply got lost in the noise. No line prefix for the > final status message. > When using --force it is too late to warn about something that is > "UNRELIABLE" and "discouraged". As I said in my earlier email, unless grub-install has run successfully (which it has in your case because you used "--force"), using "...--grub-setup=/bin/true..." will not install grub. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, 26 Aug 2011 11:47:15 -0400, TH (Tom) wrote: > > # grub2-install --grub-setup=/bin/true '(hd0,3)' > > Installation finished. No error reported. > > AFAIK, this won't be bootable, unless grub-install has run > successfully before, because that all that the above commands are > doing is populating "/boot/grub2/". it's from a comment in bz 728742 With warnings telling me something "is not possible", I stopped reading them again and missed the "Installation finished. No error reported." at the end. It simply got lost in the noise. No line prefix for the final status message. When using --force it is too late to warn about something that is "UNRELIABLE" and "discouraged". -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, 2011-08-26 at 17:18 +0200, Michael Schwendt wrote: > On Thu, 25 Aug 2011 15:20:54 -0700, AW (Adam) wrote: > > > On Thu, 2011-08-25 at 15:59 -0500, David Lehman wrote: > > > On Thu, 2011-08-25 at 22:56 +0200, Michael Schwendt wrote: > > > > Between TC1 and release of F16 Alpha, something must have changed to the > > > > worse with regard to installing GRUB to a partition's primary sector. > > > > Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. > > > > Anaconda now reports failure to install, and I've found this on virtual > > > > console: > > > > > > > > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a > > > > partitionless disk or to a partitionj. This is a BAD idea.. > > > > > > > > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only > > > > be > > > > installed in this setup using blocklists. However, blocklists are > > > > UNRELIABLE and their use is discouraged.. > > > > > > > > /usr/sbin/grub2-setup: error: will not proceed with blocklists. > > > > > > > > Bug or feature? > > > > > > Both? https://bugzilla.redhat.com/show_bug.cgi?id=728742 > > :) One step forward, two steps back ... > > > Also see: > > > > https://fedoraproject.org/wiki/Common_F16_bugs#grub2-partition-fail > > Doesn't work for me. > > 1st, quotes are missing: > > # grub2-install --force (hd0,3) > -bash: syntax error near unexpected token `(' > > > 2nd, it still refuses to install: > > # grub2-install --force '(hd0,3)' > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless > disk or to a partition. This is a BAD idea.. > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be > installed in this setup by using blocklists. However, blocklists are > UNRELIABLE and their use is discouraged.. > Installation finished. No error reported. It is not refusing to install. It's just warning you that it thinks what you are telling it to do is a bad idea. Notice that it says at the end "No error reported"? > > > 3rd, GRUB 2 %doc NEWS file mentions the partition numbering scheme > has changed to count from 1 instead of 0. The Wiki should mention that Good idea. > or recommend normal /dev/sdXY notation, which also fails, however (and > which is the reason why I don't try to edit the Wiki myself): > > # grub2-install --force /dev/sda3 > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless > disk or to a partition. This is a BAD idea.. > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be > installed in this setup by using blocklists. However, blocklists are > UNRELIABLE and their use is discouraged.. > Installation finished. No error reported. Again, this is not a failure. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, Aug 26, 2011 at 11:37 AM, Michael Schwendt wrote: > On Fri, 26 Aug 2011 17:18:56 +0200, me wrote: > >> Doesn't work for me. > > # grub2-install --grub-setup=/bin/true /dev/sda3 > Installation finished. No error reported. > > # grub2-install --grub-setup=/bin/true '(hd0,3)' > Installation finished. No error reported. AFAIK, this won't be bootable, unless grub-install has run successfully before, because that all that the above commands are doing is populating "/boot/grub2/". It's grub2-setup that does the heavy lifting of embedding boot.img in the PBR and pointing at core.img from boot.img. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, 26 Aug 2011 17:18:56 +0200, me wrote: > Doesn't work for me. # grub2-install --grub-setup=/bin/true /dev/sda3 Installation finished. No error reported. # grub2-install --grub-setup=/bin/true '(hd0,3)' Installation finished. No error reported. -- Fedora release 16 (Verne) - Linux 3.0.1-3.fc16.x86_64 loadavg: 1.67 0.82 0.31 -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Fri, 26 Aug 2011 17:18:56 +0200 Michael Schwendt wrote: > Installation finished. No error reported. Actually, it did work. Try doing the boot. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Thu, 25 Aug 2011 15:20:54 -0700, AW (Adam) wrote: > On Thu, 2011-08-25 at 15:59 -0500, David Lehman wrote: > > On Thu, 2011-08-25 at 22:56 +0200, Michael Schwendt wrote: > > > Between TC1 and release of F16 Alpha, something must have changed to the > > > worse with regard to installing GRUB to a partition's primary sector. > > > Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. > > > Anaconda now reports failure to install, and I've found this on virtual > > > console: > > > > > > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a > > > partitionless disk or to a partitionj. This is a BAD idea.. > > > > > > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be > > > installed in this setup using blocklists. However, blocklists are > > > UNRELIABLE and their use is discouraged.. > > > > > > /usr/sbin/grub2-setup: error: will not proceed with blocklists. > > > > > > Bug or feature? > > > > Both? https://bugzilla.redhat.com/show_bug.cgi?id=728742 :) One step forward, two steps back ... > Also see: > > https://fedoraproject.org/wiki/Common_F16_bugs#grub2-partition-fail Doesn't work for me. 1st, quotes are missing: # grub2-install --force (hd0,3) -bash: syntax error near unexpected token `(' 2nd, it still refuses to install: # grub2-install --force '(hd0,3)' /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea.. /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. Installation finished. No error reported. 3rd, GRUB 2 %doc NEWS file mentions the partition numbering scheme has changed to count from 1 instead of 0. The Wiki should mention that or recommend normal /dev/sdXY notation, which also fails, however (and which is the reason why I don't try to edit the Wiki myself): # grub2-install --force /dev/sda3 /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea.. /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. Installation finished. No error reported. -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Thu, 2011-08-25 at 15:59 -0500, David Lehman wrote: > On Thu, 2011-08-25 at 22:56 +0200, Michael Schwendt wrote: > > Between TC1 and release of F16 Alpha, something must have changed to the > > worse with regard to installing GRUB to a partition's primary sector. > > Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. > > Anaconda now reports failure to install, and I've found this on virtual > > console: > > > > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a > > partitionless disk or to a partitionj. This is a BAD idea.. > > > > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be > > installed in this setup using blocklists. However, blocklists are > > UNRELIABLE and their use is discouraged.. > > > > /usr/sbin/grub2-setup: error: will not proceed with blocklists. > > > > Bug or feature? > > Both? https://bugzilla.redhat.com/show_bug.cgi?id=728742 Also see: https://fedoraproject.org/wiki/Common_F16_bugs#grub2-partition-fail -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
Re: F16 Alpha GRUB install failure
On Thu, 2011-08-25 at 22:56 +0200, Michael Schwendt wrote: > Between TC1 and release of F16 Alpha, something must have changed to the > worse with regard to installing GRUB to a partition's primary sector. > Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. > Anaconda now reports failure to install, and I've found this on virtual > console: > > /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a > partitionless disk or to a partitionj. This is a BAD idea.. > > /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be > installed in this setup using blocklists. However, blocklists are > UNRELIABLE and their use is discouraged.. > > /usr/sbin/grub2-setup: error: will not proceed with blocklists. > > Bug or feature? Both? https://bugzilla.redhat.com/show_bug.cgi?id=728742 -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test
F16 Alpha GRUB install failure
Between TC1 and release of F16 Alpha, something must have changed to the worse with regard to installing GRUB to a partition's primary sector. Partitioning hasn't changed. TC1 managed to install GRUB to /dev/sda3. Anaconda now reports failure to install, and I've found this on virtual console: /usr/sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless disk or to a partitionj. This is a BAD idea.. /usr/sbin/grub2-setup: warn: Embedding is not possible. GRUB can only be installed in this setup using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. /usr/sbin/grub2-setup: error: will not proceed with blocklists. Bug or feature? -- test mailing list test@lists.fedoraproject.org To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test