FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-09-2011, 01:30 AM
linux guy
 
Default Working with grub2... update-grub in F16 ?

I am trying to get the touchscreen to work directly on a Dell Duo.

I found the following article which uses grub2 to do this.

http://jeffhoogland.blogspot.com/2011/08/howto-linux-on-dell-inspiron-duo.html

I have followed the directions and everything works fine until I reach
"update-grub". Bash tells me there is no such command.

$ yum whatprovides update-grub
No Matches found

The following ubuntu doc mentions update-grub as well, as well as lots
of other interesting tidbits on grub2.
https://help.ubuntu.com/community/Grub2

How do I update grup.cfg on a Fedora 16 system ?

Thanks !
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 01:49 AM
Konstantin Svist
 
Default Working with grub2... update-grub in F16 ?

On 11/08/2011 06:30 PM, linux guy wrote:
> $ yum whatprovides update-grub
> No Matches found


That syntax is wrong, it should be:

yum whatprovides '*/update-grub'


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:04 AM
linux guy
 
Default Working with grub2... update-grub in F16 ?

$ yum whatprovides '/*update-grub'
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-i386/filelists
| 140 kB 00:03
fedora/filelists_db
| 19 MB 00:27
rpmfusion-free/filelists_db
| 228 kB 00:00
rpmfusion-free-updates/filelists_db
| 597 B 00:00
updates/filelists_db
| 687 kB 00:02
No Matches found

I think it should be *, not /*, but that doesn't find a match either.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:04 AM
"T.C. Hollingsworth"
 
Default Working with grub2... update-grub in F16 ?

On Tue, Nov 8, 2011 at 7:30 PM, linux guy <linuxguy123@gmail.com> wrote:
> I am trying to get the touchscreen to work directly on a Dell Duo.
>
> I found the following article which uses grub2 to do this.
>
> http://jeffhoogland.blogspot.com/2011/08/howto-linux-on-dell-inspiron-duo.html
>
> I have followed the directions and everything works fine until I reach
> "update-grub". *Bash tells me there is no such command.
>
> *$ yum whatprovides update-grub
> No Matches found
>
> The following ubuntu doc mentions update-grub as well, as well as lots
> of other interesting tidbits on grub2.
> https://help.ubuntu.com/community/Grub2
>
> How do I update grup.cfg on a Fedora 16 system ?
>
> Thanks !

update-grub is a Debian/Ubuntu thing, and isn't present on Fedora.
You can add the kernel argument specified in the linked article in one
of two ways.

The first way is just a simple command:
sudo grubby --update-kernel=/boot/vmlinuz-$(uname -r)
--args="usbhid.quirks=0x0eef:0x725e:0x40"

The second way is to edit /boot/grub2/grub.cfg, locate the line
starting with "linux" of the newest kernel, and add the kernel
argument ("usbhid.quirks=0x0eef:0x725e:0x40") to the end.

-T.C.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:05 AM
"T.C. Hollingsworth"
 
Default Working with grub2... update-grub in F16 ?

On Tue, Nov 8, 2011 at 8:04 PM, T.C. Hollingsworth
<tchollingsworth@gmail.com> wrote:
> The first way is just a simple command:
> sudo grubby --update-kernel=/boot/vmlinuz-$(uname -r)
> --args="usbhid.quirks=0x0eef:0x725e:0x40"

Unfortunately, my mailer split that command into two lines. It should
be entered all on one line.

Sorry about that!

-T.C.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:18 AM
Joe Zeff
 
Default Working with grub2... update-grub in F16 ?

On 11/08/2011 07:04 PM, linux guy wrote:
> I think it should be *, not /*, but that doesn't find a match either.

That's probably because it's supposed to be */ as yum tells you if it
doesn't find anything.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:21 AM
linux guy
 
Default Working with grub2... update-grub in F16 ?

On Tue, Nov 8, 2011 at 8:04 PM, T.C. Hollingsworth
<tchollingsworth@gmail.com> wrote:

> The second way is to edit /boot/grub2/grub.cfg, locate the line
> starting with "linux" of the newest kernel, and add the kernel
> argument ("usbhid.quirks=0x0eef:0x725e:0x40") to the end.

a) The banner at the top of the grub.cfg file says "Do not edit"

b) I suspect that if its added to /etc/default/grub, it will get added
to every new kernel when its added or booted. Adding it manually to
grub.cfg does not accomplish that.

Thanks for your reply.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:34 AM
linux guy
 
Default Working with grub2... update-grub in F16 ?

Method A worked like a charm. I didn't try method B.

Thanks, again.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:36 AM
"T.C. Hollingsworth"
 
Default Working with grub2... update-grub in F16 ?

On Tue, Nov 8, 2011 at 8:21 PM, linux guy <linuxguy123@gmail.com> wrote:
> On Tue, Nov 8, 2011 at 8:04 PM, T.C. Hollingsworth
> <tchollingsworth@gmail.com> wrote:
>
>> The second way is to edit /boot/grub2/grub.cfg, locate the line
>> starting with "linux" of the newest kernel, and add the kernel
>> argument ("usbhid.quirks=0x0eef:0x725e:0x40") to the end.
>
> a) The banner at the top of the grub.cfg file says "Do not edit"

That banner is automatically generated by grub2-mkconfig, and is
incorrect. (I meant to file a bug for that ages ago and completely
forgot. Looks like we're stuck with that till F17 now. *sighs*)

> b) I suspect that if its added to /etc/default/grub, it will get added
> to every new kernel when its added or booted. * Adding it manually to
> grub.cfg does not accomplish that.

Fedora does not use update-grub like Debian and Ubuntu to generate
grub.cfg. It instead uses a tool called grubby, which copies the
configuration for the most recent kernel, only modifying the kernel
image and initramfs to match the new kernel. This permits Fedora
users to safely edit grub.cfg.

/etc/default/grub is only used by anaconda during initial setup, and
when the user manually runs grub2-mkconfig.

-T.C.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-09-2011, 02:39 AM
Konstantin Svist
 
Default Working with grub2... update-grub in F16 ?

On 11/08/2011 07:04 PM, linux guy wrote:
> $ yum whatprovides '/*update-grub'
> Loaded plugins: langpacks, presto, refresh-packagekit
> adobe-linux-i386/filelists
> | 140 kB 00:03
> fedora/filelists_db
> | 19 MB 00:27
> rpmfusion-free/filelists_db
> | 228 kB 00:00
> rpmfusion-free-updates/filelists_db
> | 597 B 00:00
> updates/filelists_db
> | 687 kB 00:02
> No Matches found
>
> I think it should be *, not /*, but that doesn't find a match either.

No, it's */
It's a file pattern match, "file update-grub in any directory in the
filesystem"


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 11:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org