[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 quick questions

From: Colin Watson
Subject: Re: 2 quick questions
Date: Wed, 13 Nov 2013 11:41:01 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Nov 09, 2013 at 08:42:56AM -0700, Gerard Butler wrote:
> Is it possible to pass a command to a Linux based OS? So for instance
> I select Ubuntu or Fedora and I tell it to run some script as soon as
> it boots and I can put this comand in the menuentry.

You can put whatever you like on the kernel command line, but the
interpretation of that is up to the operating system you're booting.
You could for example write a generic init script that looks at
/proc/cmdline and acts accordingly.

> My second question is that is it possible to control navigation within
> GRUB using a joystick? I know it's possible to treat a joystick as a
> keyboard in several OSes, but at the boot menu I don't if it's
> possible for that to happen.                                    

If you manage to find a joystick that supports acting as a USB HID Boot
Protocol keyboard device, then it might work, although of course you'd
need to sort out a keymap.  Otherwise, this would require writing a
custom driver.

Colin Watson                                       address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]