Re: SID: update-grub ---Warning: os-prober will not be executed to detect other bootable partitions.

2021-12-09 Thread David Wright
On Thu 09 Dec 2021 at 08:28:37 (-0800), Peter Ehlert wrote: > the full error message at the end of update-grub: > > Warning: os-prober will not be executed to detect other bootable partitions. > Systems on them will not be added to the GRUB boot configuration. > Check GRUB_DI

SID: update-grub ---Warning: os-prober will not be executed to detect other bootable partitions.

2021-12-09 Thread Peter Ehlert
the full error message at the end of update-grub: Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Question: why would this desirable? it's totall

Re: update-grub: how to avoid scanning all devices

2018-01-03 Thread Steve Keller
On 15 Dec 2017 at 13:42, Brian wrote: > Purge os-prober. Thanks, that's exactly what I was looking for. Steve

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Brian
filesystems include ext4? > > Filesystem instances, not filesystem types. > You can skip filesystems if you know their UUIDs. But e.g. an unreported > filesystem on a removable device won't be skipped. No removable device devices here. A machine with four ext4 partitions; noth

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Pascal Hambourg
Le 15/12/2017 à 18:18, Brian a écrit : On Fri 15 Dec 2017 at 17:53:57 +0100, Pascal Hambourg wrote: . ‘GRUB_OS_PROBER_SKIP_LIST’ List of space-separated FS UUIDs of filesystems to be ignored from os-prober output. For efi chainload

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Brian
On Fri 15 Dec 2017 at 17:53:57 +0100, Pascal Hambourg wrote: > Le 15/12/2017 à 17:40, Brian a écrit : > > On Fri 15 Dec 2017 at 16:31:54 +0100, Pascal Hambourg wrote: > > > > > Le 15/12/2017 à 14:42, Richard Owlett a écrit : > > > > > > > > I have 2 similar problems which wouldn't be solved by d

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Pascal Hambourg
Le 15/12/2017 à 17:40, Brian a écrit : On Fri 15 Dec 2017 at 16:31:54 +0100, Pascal Hambourg wrote: Le 15/12/2017 à 14:42, Richard Owlett a écrit : I have 2 similar problems which wouldn't be solved by disabling os-prober. The common characteristic is wishing to probe all operating systems r

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Brian
On Fri 15 Dec 2017 at 16:31:54 +0100, Pascal Hambourg wrote: > Le 15/12/2017 à 14:42, Richard Owlett a écrit : > > > > I have 2 similar problems which wouldn't be solved by disabling os-prober. > > > > The common characteristic is wishing to probe all operating systems > > residing on on a speci

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Pascal Hambourg
drive (intended to be multi-boot) for an unrelated machine. When I install the grub adds all OS from the "host" machine. By default, os-prober is installed and used by GRUB. So, after the installation you must boot the new system, disable os-prober or filter out its output as above an

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Richard Owlett
On 12/15/2017 06:43 AM, Pascal Hambourg wrote: Le 15/12/2017 à 13:18, Steve Keller a écrit : When calling update-grub, it scans all devices for operating systems to put into the GRUB config. It even mounts all block devices to do the scan. I'd like to avoid this and let it scan only a n

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Pascal Hambourg
Le 15/12/2017 à 13:18, Steve Keller a écrit : When calling update-grub, it scans all devices for operating systems to put into the GRUB config. It even mounts all block devices to do the scan. I'd like to avoid this and let it scan only a number of configured directories, in my case only

Re: update-grub: how to avoid scanning all devices

2017-12-15 Thread Brian
On Fri 15 Dec 2017 at 13:18:17 +0100, Steve Keller wrote: > When calling update-grub, it scans all devices for operating systems > to put into the GRUB config. It even mounts all block devices to do > the scan. I'd like to avoid this and let it scan only a number of > configure

update-grub: how to avoid scanning all devices

2017-12-15 Thread Steve Keller
When calling update-grub, it scans all devices for operating systems to put into the GRUB config. It even mounts all block devices to do the scan. I'd like to avoid this and let it scan only a number of configured directories, in my case only /boot. Scanning all devices is annoying be

Re: update-grub

2014-02-21 Thread Patrick Bartek
On Fri, 21 Feb 2014, Ric Moore wrote: > After bending my brains for a day fixing little problems, after > upgrading to Jessie, I'm noticing a weird behavior. > > I have Ubuntu on /dev/sda3 and Debian on /dev/sdb1. When I run > update-grub, it notices the Ubuntu partition

Re: update-grub

2014-02-21 Thread Scott Ferguson
On 21/02/14 20:27, Scott Ferguson wrote: > On 21/02/14 20:06, Ric Moore wrote: >> After bending my brains for a day fixing little problems, after >> upgrading to Jessie, I'm noticing a weird behavior. >> >> I have Ubuntu on /dev/sda3 and Debian on /dev/sdb1. When

Re: update-grub

2014-02-21 Thread Scott Ferguson
On 21/02/14 20:06, Ric Moore wrote: > After bending my brains for a day fixing little problems, after > upgrading to Jessie, I'm noticing a weird behavior. > > I have Ubuntu on /dev/sda3 and Debian on /dev/sdb1. When I run > update-grub, it notices the Ubuntu partition yet

update-grub

2014-02-21 Thread Ric Moore
After bending my brains for a day fixing little problems, after upgrading to Jessie, I'm noticing a weird behavior. I have Ubuntu on /dev/sda3 and Debian on /dev/sdb1. When I run update-grub, it notices the Ubuntu partition yet when I boot, the old selection for Ubuntu is no longer ther

Re: Understanding output from update-grub with md

2014-02-14 Thread Ari Epstein
ce. Or so I thought. After updating installing latest 7.4 > kernel and rebooting I noticed it was running an older kernel. Output from > update-grub suggested that two unused spares somehow had older versions of > the / partition. I added them back as hot spares and then made them >

update-grub hangs when starting with systemd

2013-12-14 Thread Zenaan Harkness
Anyone know why update-grub would hang when started with systemd? Here is a successful normal run after booting with sysvinit: $ sudo update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.11-2-amd64 Found

Re: how does update-grub choose the root filesystem

2012-07-06 Thread Alan Chandler
grub on both /dev/sda and /dev/sdb to boot up from /dev/md0. When that is working I will retire /dev/sdb1 and add it as the second component of /dev/md0. The magic appears to be in grub-mkconfig (wrapped with update-grub). But I am also confused as to whether I need to do anything abo

Re: how does update-grub choose the root filesystem

2012-07-06 Thread Gary Dale
ot up from /dev/md0. When that is working I will retire /dev/sdb1 and add it as the second component of /dev/md0. The magic appears to be in grub-mkconfig (wrapped with update-grub). But I am also confused as to whether I need to do anything about an initramfs. "grub-install /dev/sdX" use

Re: how does update-grub choose the root filesystem

2012-07-06 Thread Tom H
dev/md0 comprising > /dev/sda1 and an empty slot. My desire is to install grub on both /dev/sda > and /dev/sdb to boot up from /dev/md0. When that is working I will retire > /dev/sdb1 and add it as the second component of /dev/md0. > > The magic appears to be in grub-mkconfig (wrappe

Re: how does update-grub choose the root filesystem

2012-07-06 Thread Alan Chandler
boot up from /dev/md0. When that is working I will retire /dev/sdb1 and add it as the second component of /dev/md0. The magic appears to be in grub-mkconfig (wrapped with update-grub). But I am also confused as to whether I need to do anything about an initramfs. I want to achieve the mi

Re: how does update-grub choose the root filesystem

2012-07-06 Thread Alan Chandler
ing I will retire /dev/sdb1 and add it as the second component of /dev/md0. The magic appears to be in grub-mkconfig (wrapped with update-grub). But I am also confused as to whether I need to do anything about an initramfs. I want to achieve the mimimum of downtime on the machine I am tryin

Re: how does update-grub choose the root filesystem

2012-07-05 Thread Alan Chandler
s the second component of /dev/md0. The magic appears to be in grub-mkconfig (wrapped with update-grub). But I am also confused as to whether I need to do anything about an initramfs. I want to achieve the mimimum of downtime on the machine I am trying to make this work on, and am worried that

Re: how does update-grub choose the root filesystem

2012-07-05 Thread Tom H
On Wed, Jul 4, 2012 at 7:22 PM, Alan Chandler wrote: > > I am trying to figure out how to move my current rootfs to raid1 (its just a > partition at the moment). > > The plan is to make a a raid device, copy the current root fs in to it - but > I then need to tell grub to set up this up as the roo

how does update-grub choose the root filesystem

2012-07-04 Thread Alan Chandler
I am trying to figure out how to move my current rootfs to raid1 (its just a partition at the moment). The plan is to make a a raid device, copy the current root fs in to it - but I then need to tell grub to set up this up as the root for the boot. How do I do this? -- Alan Chandler http://w

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 13/07/10 01:58 AM, Tom H wrote: > > Quite frankly, I thought that this had been fixed (I read it on either > the Debian or Ubuntu bug reporting system), but I came across this > problem last year and the script was looking for initrds of the form > "initrd.img-..." and therefore ignored "initra

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Tom H
On Tue, Jul 13, 2010 at 2:02 AM, Sven Joachim wrote: > On 2010-07-13 07:45 +0200, H.S. wrote: > >> On 13/07/10 01:28 AM, Tom H wrote: >>> >>> Yes. The Fedora/RHEL initrd names are not recognized by Debian/Ubuntu's >>> grub... > > It should work in os-prober 1.39. Thanks for the info. As I said i

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Sven Joachim
On 2010-07-13 07:45 +0200, H.S. wrote: > On 13/07/10 01:28 AM, Tom H wrote: >> >> Yes. The Fedora/RHEL initrd names are not recognized by Debian/Ubuntu's >> grub... It should work in os-prober 1.39. > I see. Could you briefly explain why is that? Because Fedora uses initramfs$something as the

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Tom H
On Tue, Jul 13, 2010 at 1:45 AM, H.S. wrote: > On 13/07/10 01:28 AM, Tom H wrote: >> On Tue, Jul 13, 2010 at 12:37 AM, H.S. wrote: >>> >>> It is missing the initrd line. Without that line the kernel does not >>> boot and panics and halts. >>> >>> I have to put the correct stanza myself in /etc/gr

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Sven Joachim
g about grub-legacy here. > Any system that you install after Debian is added (in my experience) > or should be added to grub2's menu after update-grub is run. If you have os-prober installed, that is. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 13/07/10 01:28 AM, Tom H wrote: > On Tue, Jul 13, 2010 at 12:37 AM, H.S. wrote: >> >> It is missing the initrd line. Without that line the kernel does not >> boot and panics and halts. >> >> I have to put the correct stanza myself in /etc/grub.d/40_custom to get >> the correct grub entry which

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Tom H
hould be added to grub2's menu after update-grub is run. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktilmnipfuo3yugc519t4ibov2nihtrf5lbryb...@mail.gmail.com

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Tom H
On Tue, Jul 13, 2010 at 12:37 AM, H.S. wrote: > On 12/07/10 03:07 PM, H.S. wrote: >> >> Curiously though, update-grub is now detecting Fedora 13! It was not > > Well, I wrote that too soon. > > Here is what update-grub puts in /boot/grub > /grub.cfg regard

Re: [SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 12/07/10 03:07 PM, H.S. wrote: > > Curiously though, update-grub is now detecting Fedora 13! It was not Well, I wrote that too soon. Here is what update-grub puts in /boot/grub /grub.cfg regarding the Fedora 13 installation: ### men

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Goh Lip
On 07/12/2010 12:17 PM, H.S. wrote: On a newly installed Debian Testing system, I installed Fedora 13 in a partition but chose not to install the boot loaded since I wanted to use Debian's boot loader for all OSes. Now when I do update-grub in Debian, it detects all OSes installed in the

[SOLVED] Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
led either! And yet all my OSes, barring F13, > are being probed alright. So this makes me wonder, does grub-pc even use > it while probing for OSes? I just checked again and os-prober is intalled on my system. I am not sure why I missed this earlier. Curiously though, update-grub is now detect

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Sven Joachim
ou install _after_ Debian will not automagically show up in the menu. You'll probably have to add it by hand then. >> but grub2 uses it in /etc/grub.d/30_os-prober. > > Which seems to be a script/routine that first checks for the availability > of "os-prober". So it

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Camaleón
tems, Debian installer auto-detected my other linux OS (openSUSE 10.3) and added to "/boot/grub/menu.lst", I had to do nothing :-? > but grub2 uses it in /etc/grub.d/30_os-prober. Which seems to be a script/routine that first checks for the availability of "os-prober". So

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Sven Joachim
On 2010-07-12 19:41 +0200, Camaleón wrote: > On Mon, 12 Jul 2010 19:22:29 +0200, Sven Joachim wrote: > >> On 2010-07-12 19:09 +0200, Camaleón wrote: >> >>> Also, take a look into the bugs that have already filled for grub-pc: >>> >>> http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=grub-pc >>

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 12/07/10 01:41 PM, Camaleón wrote: > On Mon, 12 Jul 2010 19:22:29 +0200, Sven Joachim wrote: > >> On 2010-07-12 19:09 +0200, Camaleón wrote: >> >>> Also, take a look into the bugs that have already filled for grub-pc: >>> >>> http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=grub-pc >> >> s/

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 12/07/10 01:22 PM, Sven Joachim wrote: > On 2010-07-12 19:09 +0200, Camaleón wrote: > >> Also, take a look into the bugs that have already filled for grub-pc: >> >> http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=grub-pc > > s/grub-pc/os-prober/ > > Foreign operating systems are (suppose

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Camaleón
On Mon, 12 Jul 2010 19:22:29 +0200, Sven Joachim wrote: > On 2010-07-12 19:09 +0200, Camaleón wrote: > >> Also, take a look into the bugs that have already filled for grub-pc: >> >> http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=grub-pc > > s/grub-pc/os-prober/ > > Foreign operating syste

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Sven Joachim
On 2010-07-12 19:09 +0200, Camaleón wrote: > Also, take a look into the bugs that have already filled for grub-pc: > > http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=grub-pc s/grub-pc/os-prober/ Foreign operating systems are (supposed to be) detected by os-prober, so if Fedora 13 does not

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 12/07/10 01:09 PM, Camaleón wrote: > > I think windows OS falls apart (as there are no "vmlinuz" files to > detect) but fedora9 should be the same case than Fedora13, provided that > is also located in a different disk. > > When you run the "update-grub&qu

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Camaleón
On Mon, 12 Jul 2010 12:24:44 -0400, H.S. wrote: > On 12/07/10 12:15 PM, Camaleón wrote: >> I don't know so much how the "new beast" (GRUB2) works, but if "man >> update-grub¹" is right, it will detect all the "vmlinuz" files that are >>

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread H.S.
On 12/07/10 12:15 PM, Camaleón wrote: > On Mon, 12 Jul 2010 00:17:53 -0400, H.S. wrote: > > (...) > >> Now when I do update-grub in Debian, it detects all OSes installed in >> the hard drives connected to the system, but does not detect Fedora 13. >> I had to man

Re: Why does not update-grub detect Fedora 13 installation?

2010-07-12 Thread Camaleón
On Mon, 12 Jul 2010 00:17:53 -0400, H.S. wrote: (...) > Now when I do update-grub in Debian, it detects all OSes installed in > the hard drives connected to the system, but does not detect Fedora 13. > I had to manually add the stanza lines for F13 to get its option in the > gr

Why does not update-grub detect Fedora 13 installation?

2010-07-11 Thread H.S.
On a newly installed Debian Testing system, I installed Fedora 13 in a partition but chose not to install the boot loaded since I wanted to use Debian's boot loader for all OSes. Now when I do update-grub in Debian, it detects all OSes installed in the hard drives connected to the system

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-09 Thread lrhorer
Tom H wrote: > On Sun, Jun 6, 2010 at 5:30 PM, lrhorer wrote: > You can't load modules for grub-probe. > > But you can for grub-install. > > The default modules that I have in a Sid VM for an install without > mdraid or lvm are: > minicmd, true, loadenv, extcmd, test,

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-07 Thread Tom H
On Sun, Jun 6, 2010 at 5:30 PM, lrhorer wrote: You can't load modules for grub-probe. But you can for grub-install. The default modules that I have in a Sid VM for an install without mdraid or lvm are: minicmd, true, loadenv, extcmd, test, sh, normal, charset, te

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-06 Thread lrhorer
>>> You can't load modules for grub-probe. >>> >>> But you can for grub-install. >>> >>> The default modules that I have in a Sid VM for an install without >>> mdraid or lvm are: >>> minicmd, true, loadenv, extcmd, test, sh, normal, charset, terminal, >>> crypto, boot, part_msdos, ext2, fshelp, bio

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-06 Thread lrhorer
lrhorer wrote: > > I upgraded a box from "Lenny" to "Squeeze", but the update of > GRUB to > GRUB2 failed. I've cobbled together a procedure which I think will work and which is (I hope) safe: 1. Comment out the entries for /dev/md1 in /etc/fstab and /etc/mdadm/mdadm.c

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-06 Thread lrhorer
>>> You can't load modules for grub-probe. >>> >>> But you can for grub-install. >>> >>> The default modules that I have in a Sid VM for an install without >>> mdraid or lvm are: >>> minicmd, true, loadenv, extcmd, test, sh, normal, charset, terminal, >>> crypto, boot, part_msdos, ext2, fshelp, bio

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-06 Thread Tom H
be nor grub-install (for GRUB 2) will exist.  I can't pass > parameters to a binary that doesn't exist.  Passing them to the same > respective file for GRUB legacy won't help, either. If you don't have grub-install, you are missing grub-common, upon which grub-pc depends.

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-05 Thread lrhorer
Tom H wrote: > On Sat, May 29, 2010 at 8:56 PM, lrhorer wrote: >> >> I upgraded a box from "Lenny" to "Squeeze", but the update of GRUB to >> GRUB2 failed.  The box is running a pair of IDE hard drives with >> three partitions each.  Each partition on each drive is a RAID1 >> mirror of the same p

Re: Update GRUB to GRUB2 / Lenny to Squeeze

2010-06-02 Thread Tom H
On Sat, May 29, 2010 at 8:56 PM, lrhorer wrote: > > I upgraded a box from "Lenny" to "Squeeze", but the update of GRUB to > GRUB2 failed.  The box is running a pair of IDE hard drives with three > partitions each.  Each partition on each drive is a RAID1 mirror of the > same partition on the other

Update GRUB to GRUB2 / Lenny to Squeeze

2010-05-29 Thread lrhorer
I upgraded a box from "Lenny" to "Squeeze", but the update of GRUB to GRUB2 failed. The box is running a pair of IDE hard drives with three partitions each. Each partition on each drive is a RAID1 mirror of the same partition on the other drive. The first partitions on both drives are m

grub2, update-grub, /etc/grub.d

2009-09-26 Thread Hugh Lawson
grub2 (provided by package grub-pc) Suppose you want to add something like "vga=791" to the linux line of one of the stanzas auto-configured by update-grub. What is the debian way to do this? I know how to edit the grub.cfg file to do this, but won't this file be replaced by t

Re: grub2, update-grub, /etc/grub.d

2009-09-26 Thread Gilles Mocellin
On Sat, Sep 26, 2009 at 11:36:00AM -0400, Hugh Lawson wrote: > grub2 (provided by package grub-pc) > > Suppose you want to add something like "vga=791" to the linux line of > one of the stanzas auto-configured by update-grub. > > What is the debian way to do thi

Re: update-grub and chroot

2008-10-20 Thread T o n g
Hi, thanks everyone for the reply, On Sat, 18 Oct 2008 10:17:23 +0200, Shams Fantar wrote: >> I'm wondering if it is possible to update the grub menu.lst in the >> chroot with update-grub to reflect its appropriate kernel to boot from. >> > . . . You > should

Re: update-grub and chroot

2008-10-18 Thread Shams Fantar
T o n g wrote: > Hi, > > I tried to update my grub menu.lst in the chroot system using update- > grub, but it doesn't work. > > I'm wondering if it is possible to update the grub menu.lst in the chroot > to reflect its appropriate kernel to boot from. > &

Re: update-grub and chroot

2008-10-18 Thread Osamu Aoki
Hi, On Sat, Oct 18, 2008 at 03:05:52AM +, T o n g wrote: > Hi, > > I tried to update my grub menu.lst in the chroot system using update- > grub, but it doesn't work. > > I'm wondering if it is possible to update the grub menu.lst in the chroot > to reflect

update-grub and chroot

2008-10-17 Thread T o n g
Hi, I tried to update my grub menu.lst in the chroot system using update- grub, but it doesn't work. I'm wondering if it is possible to update the grub menu.lst in the chroot to reflect its appropriate kernel to boot from. thanks -- Tong (remove underscore(s) to rep

Re: Warning before running update-grub (was: Filing bug reports in Debian)

2008-10-14 Thread Hal Vaughan
On Tuesday 14 October 2008, Eduardo M KALINOWSKI wrote: > Hal Vaughan wrote: > > Instead of just calling > > update-grub, a script could have said, "This update will > > re-write /boot/grub/menu.lst. Press return to continue." That > > would have bee

Re: Warning before running update-grub (was: Filing bug reports in Debian)

2008-10-14 Thread Eduardo M KALINOWSKI
Hal Vaughan wrote: > Instead of just calling > update-grub, a script could have said, "This update will > re-write /boot/grub/menu.lst. Press return to continue." That would > have been enough (although giving a choice of continuing or not would > have been nice, t

Re: update-grub problem

2008-05-14 Thread John Hasler
> However, that script DOES exist in the stated path. So what gives with > this? That path ("usr/sbin/update-grub") is relative to the current directory of the process using it. You probably want "/usr/sbin/update-grub". -- John Hasler -- To UNSUBSCRIBE, email to

update-grub problem

2008-05-14 Thread John Fleming
I'm trying to install linux-image-2.6.18-6-686 using apt-get. I recently made the recommended change in /etc/kernel-img.conf to include: postinst_hook = usr/sbin/update-grub postrm_hook = usr/sbin/update-grub When I run the apt-get install, the configuration fails with the error

Re: update-grub problem

2008-05-14 Thread John Fleming
What is the current working directory when this script gets run. You told it usr/sbin/update-grub not /usr/sbin/update-grub Note the difference. I still don't know why this is necessary. During the most recent kernel upgrade in Etch, I watched carefully for the usual warning message

Re: update-grub problem

2008-05-14 Thread Damon L. Chesser
John Fleming wrote: I'm trying to install linux-image-2.6.18-6-686 using apt-get. I recently made the recommended change in /etc/kernel-img.conf to include: postinst_hook = usr/sbin/update-grub postrm_hook = usr/sbin/update-grub When I run the apt-get install, the configuration

Re: update-grub problem

2008-05-14 Thread Douglas A. Tutty
On Wed, May 14, 2008 at 09:43:14PM -0400, John Fleming wrote: > I'm trying to install linux-image-2.6.18-6-686 using apt-get. I recently > made the recommended change in /etc/kernel-img.conf to include: > > postinst_hook = usr/sbin/update-grub > postrm_hook = usr/sbin/upd

Re: update-grub problem

2008-05-14 Thread Mike Bird
On Wed May 14 2008 18:43:14 John Fleming wrote: > I'm trying to install linux-image-2.6.18-6-686 using apt-get. I recently > made the recommended change in /etc/kernel-img.conf to include: > > postinst_hook = usr/sbin/update-grub > postrm_hook = usr/sbin/update-grub > &

update-grub problem

2008-05-14 Thread John Fleming
I'm trying to install linux-image-2.6.18-6-686 using apt-get. I recently made the recommended change in /etc/kernel-img.conf to include: postinst_hook = usr/sbin/update-grub postrm_hook = usr/sbin/update-grub When I run the apt-get install, the configuration fails with the error

Re: update-grub help, menu.lst is not changing

2007-11-15 Thread Louie Miranda
gt; > > > # this following lines, remove! > > > #title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user > mode) > > > #root(hd0,1) > > > #kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda2 ro single > > > #initrd /boo

Re: update-grub help, menu.lst is not changing

2007-11-14 Thread Florian Kulzer
t=/dev/hda2 ro single > > #initrd /boot/initrd.img-2.6.18-4-686 > > #savedefault > > > > ### END DEBIAN AUTOMAGIC KERNELS LIST > > > > And after typing update-grub, that whole line goes back to being > UN-commented. How can i edit that permanently? I ha

update-grub help, menu.lst is not changing

2007-11-14 Thread Louie Miranda
l 2.6.18-4-686 (single-user mode) > #root(hd0,1) > #kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda2 ro single > #initrd /boot/initrd.img-2.6.18-4-686 > #savedefault > > ### END DEBIAN AUTOMAGIC KERNELS LIST > And after typing update-grub, that whole

Re: Re: Update-grub not listing latest kernel first

2007-09-12 Thread John Talbut
OK Hans, thanks for confirming that. John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Update-grub not listing latest kernel first

2007-09-12 Thread Hans Hofker
John Talbut wrote: I have just done another kernel recompile and when I ran update-grub it listed the previous version of the kernel first (thereby making it the default kernel to boot). I give my kernels a version according to the date on which I compiled them, i.e.: vmlinuz-2.6.21-11sep7

Update-grub not listing latest kernel first

2007-09-12 Thread John Talbut
I have just done another kernel recompile and when I ran update-grub it listed the previous version of the kernel first (thereby making it the default kernel to boot). I give my kernels a version according to the date on which I compiled them, i.e.: vmlinuz-2.6.21-11sep7 vmlinuz-2.6.21-18jul7

update-grub path change

2006-09-16 Thread Benjamí Villoslada
After the today Grub update (Sid): - I must remove the full paths from /etc/kernel-img.conf or - I must change the paths because update-grub now is in /usr/sbin/ instead of /sbin/ My doubt is because this apt-listchanges note: -- grub (0.97-16) unstable

Re: Where is the script update-grub located?

2005-12-14 Thread Andrei Popescu
David R. Litwin wrote: I have the same problem, and there allready is a thread about it, but without any hopes. I didn't try update-grub because i don't think this is the problem, but if you find something please post ... Which thread is this? I should like

Re: Where is the script update-grub located?

2005-12-13 Thread David R. Litwin
I have the same problem, and there allready is a thread about it, butwithout any hopes. I didn't try update-grub because i don't think this is the problem, but if you find something please post ...Which thread is this? I should like to read it.-- —A watched bread-crumb never boils.—My h

Re: Where is the script update-grub located?

2005-12-13 Thread Andrei Popescu
I have the same problem, and there allready is a thread about it, but without any hopes. I didn't try update-grub because i don't think this is the problem, but if you find something please post ... Andrei -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "u

Re: Where is the script update-grub located?

2005-12-13 Thread Richard Lyons
On Monday, 12 December 2005 at 23:36:03 -0500, David R. Litwin wrote: > > In any case, I think anyway that update-grub could not work from > > Windows, since it's a Linux program, right? > > > I was wondering about that myself. I thought it best to at least try it,

Re: Where is the script update-grub located?

2005-12-12 Thread David R. Litwin
In any case, I think anyway that update-grub could not work fromWindows, since it's a Linux program, right? I was wondering about that myself. I thought it best to at least try it, though. Not much success since I can't even find it, though You should be able to do anything you nee

Re: Where is the script update-grub located?

2005-12-12 Thread Ron Johnson
can run it > > from windows. > > $ dpkg -L grub > > > I'm afraid that that doesn't work from Windows > > > > $ locate update-grub > > This says it doesn't exist > > Now what? Next time I&#x

Re: Where is the script update-grub located?

2005-12-12 Thread David R. Litwin
On 12/12/05, Ron Johnson <[EMAIL PROTECTED]> wrote: On Mon, 2005-12-12 at 16:05 -0500, David R. Litwin wrote:> I should like to know where the actual script is so that I can run it> from windows.$ dpkg -L grub I'm afraid that that doesn't work from Windows  $ locate update-grubThis says it doe

Re: Where is the script update-grub located?

2005-12-12 Thread Ron Johnson
On Mon, 2005-12-12 at 16:05 -0500, David R. Litwin wrote: > I should like to know where the actual script is so that I can run it > from windows. $ dpkg -L grub $ locate update-grub -- - Ron Johnson, Jr. Jefferson, LA USA

Where is the script update-grub located?

2005-12-12 Thread David R. Litwin
the effect that /sys/boot/hda5/dev can not be found (I'll give you the exact wording if I need to). I beleive that this can be solved with update-grub, but I do not know where it is so that I can run it from Windows. I thank you kindly in advance.-- —A watched bread-crumb never boils.—My hover-

Re: update-grub on aptitude install of new linux image...

2005-12-01 Thread Javier-Elias Vasquez-Vivas
On 12/1/05, Florian Ernst <[EMAIL PROTECTED]> wrote: > Hello *, > > On Wed, Nov 30, 2005 at 08:52:37PM -0600, Javier-Elias Vasquez-Vivas wrote: > > I'm wondering how to make update-grub automatically when ever a new > > linux image gets installed, whether from debia

Re: update-grub on aptitude install of new linux image...

2005-12-01 Thread Florian Ernst
Hello *, On Wed, Nov 30, 2005 at 08:52:37PM -0600, Javier-Elias Vasquez-Vivas wrote: > I'm wondering how to make update-grub automatically when ever a new > linux image gets installed, whether from debian stock or generated > through make-kpkg. Might be just editing a config fil

update-grub on aptitude install of new linux image...

2005-11-30 Thread Javier-Elias Vasquez-Vivas
Hi, I'm wondering how to make update-grub automatically when ever a new linux image gets installed, whether from debian stock or generated through make-kpkg. Might be just editing a config file or something? Thx, -- Javier-Elias Vasquez-Vivas

update-grub in 3.1r0a assigns wrong root device, cannot boot with 2.4

2005-09-03 Thread Bernhard Fastenrath
Two boot problems I ran into with the 3.1 r0a release: 1. My only drive is /dev/hde, /dev/hda is a cdrom, /dev/hde6 is the Linux root partition: /dev/hde6 78626 15878540400608+ 83 Linux update-grub wrote (hd0,0) as the root device into the AUTOMAGIC KERNELS LIST in /boot

Sarge and update-grub

2004-12-03 Thread joebosak
I have been trying to compile a 2.6.9 kernel under woody. I used backports, but the kernels kept crashing - kernel panics, etc. So then I upgraded to sarge, using apt-get dist-upgrade and after changing my sources.list. I now have a problem with update-grub. It just seems to stop after

update-grub and kopt_x_y_z.

2004-05-11 Thread Shaul Karl
According to /boot/grub/menu.lst, ## If you want special options for specifiv kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. What am I doing wrong with # kopt_2_6_3=/dev/sdb1 ro console=tty0 console=ttyS1,9600n8 ? It seems to be ignored a

Re: update-grub hangs

2004-04-25 Thread Uwe Dippel
On Sun, 25 Apr 2004 16:40:34 +0200, Michael Sullivan wrote: > I'm trying to install a low-latency kernel and managed to get through > the whole process, but when I ran update-grub, it finds my old kernels > but not the new one. To me looks more your / a kernel problem than

update-grub hangs

2004-04-25 Thread Michael Sullivan
I'm trying to install a low-latency kernel and managed to get through the whole process, but when I ran update-grub, it finds my old kernels but not the new one. I added the new one by hand, copying the portion of menu.lst that specifies a kernel, changing the name, and copying the e