GRUB User Interface — First Design Stages
As mentioned in a previous posting, I am working with some of the Kubuntu devs on creating a graphical user interface for GRUB (Linux bootloader).
The GRUB configuration in /boot/grub/ allows you to do a lot of things, most of them (that I have come up with) are:
- Modify background color
- Set a password
- Select if the menu should be hidden or on
- Change timeout of when to load default OS
- Reorder the list of OSes
- Change which OS should be default
- Add or remove an OS from the display list
- Change the display name of an OS
- Specify the location of the kernel, RAM disk, and filesystem root
- Specify boot parameters for the kernel
- Select if you want the OS to show a splash screen (if applicable)
- Select quiet or verbos OS messages
Currently, if you want to modify any of these options, you edit /boot/grub/menu.lst and reboot. This is a bit scary for non-experienced users (and inconvenient for experienced users) if a syntax error occurs and the user is left to the GRUB command line and their own devices. Besides the fear of immanent danger, some of the configurable options for both are a bit difficult to understand unless you’ve compiled and installed your own kernel before. Then, there are the kernel parameters, which are a whole lot of options to worry about.
Modifying GRUB isn’t an every day thing, and for most users, it may not even be necessary to modify it after new kernel installations. However it is necessary at some point otherwise there wouldn’t be a need for an interface.
Let’s think about some people who would modify GRUB:
- Users who want to tweak the behavior and look of the GRUB menu
- Users installing a new kernel (manually or via package which does not update GRUB)
- Users who have installed a new operating system
- Users who are tweaking the kernel and want to update boot parameters
- … any others?
Finding out more about who and why a GRUB configuration would be modified is a beginning step to creating a usable user interface.
My questions for the community are:
- If you ever have had to manually modify GRUB, what did you change?
- What kernel options do you have configured for your boot entries?
- Which of those options did you manually change, rather than accept the generated defaults?
- In your opinion, what is the most difficult thing to know or understand about GRUB?
It would also be great if you have experience configuring a GRUB configuration for a non-technical user, what are the things you updated in that situation, and how are they different than your personal GRUB experiences?
anal sex free
dating free gay sex
free adult sex game
free amateur sex
free anal porn sex movie download
free anal sex
free anal sex movie
free anal sex video
free animal sex
free anime sex
free asian sex
free asian sex movie
free black sex
free cartoon having sex
free cartoon sex
free full length sex video
free gay sex
free gay sex gallery
free gay sex movie
free gay sex story
free gay sex video
free granny sex
free group sex
free hardcore sex
free hardcore sex clip
free hardcore sex video
free home sex video
free homemade sex video
free imogen thomas sex tape
free incest sex story
free indian sex
free kim kardashian sex tape
free lesbian sex
free lesbian sex movie
free lesbian sex video
free live sex
free live sex show
free mature sex
free online sex game
free paris hilton sex tape
free paris hilton sex video
free phone sex
free preteen girl sex movie
free sex
free sex ad
free sex cam
free sex chat
free sex chat room
free sex clip
free sex comic
free sex download
free sex family xxx
free sex gallery
free sex game
free sex garls
free sex hostess
free sex key
free sex moives
free sex moveis
free sex movie
free sex movie clip
free sex mpeg
free sex password
free sex personal
free sex photo
free sex pic
free sex picture
free sex pix
free sex pixs
free sex porn
free sex site
free sex story
free sex tape
free sex teen gallery
free sex toon
free sex trailer
free sex tv
free sex video
free sex video clip
free sex vids
free sex wabcams
free sex web cam
free tamil sex movie
free teen sex
free teen sex video
free wedding sex pic
sex free
sex free video
sex video for free
sex video free
sex video free download
seele :: Nov.22.2006 :: General, Open Source :: 33 Comments »
“If you ever have had to manually modify GRUB, what did you change?”
1. Preferred system to load (”default” option).
2. Boot options.
“What kernel options do you have configured for your boot entries?”
1. “acpi=…” and similar for making hardware work
2. nosplash
3. init=/bin/bash or runlevel
“Which of those options did you manually change, rather than accept the generated defaults?”
See above.
“In your opinion, what is the most difficult thing to know or understand about GRUB?”
How to install it into some partition/MBR.
HTH
1. mostly: default option, boot params, adding/removing kernels
2. video,init.root,acpi … a lot…
3. Most difficult is to understand how grub launched under linux sees disks order differently from grub launched by BIOS
It was about time! I wish it was released the day before yesterday. (See my blog.)
Another case where a GRUB UI would be useful: When your install a new harddisk and want to boot on it.
I’m far from a non-technical user but I really had a hard time and cold sweats. Informations about GRUB always contains scary words like “corrupted disk”, “unable to boot”, etc.
I wondered how can anybody ever get experimented in tweaking GRUB –except its developers– since nobody ever touches GRUB’s configuration more than once every two or three years, even less. A GUI would be more than welcomed.
If a Curses version of this GUI existed for the worst cases, we’d get very close from heaven. I’d prefer not to use GRUB or its mini-CLI… ever! If possible…
* If you ever have had to manually modify GRUB, what did you change?
a) Added a new OS as a boot option (FreeBSD, Windows)
b) Changed the displayed named of a boot option
c) Enabled the chain loading thing to be able to boot Windows
d) Enabled the “use last booted as default” option (missing from your list).
* What kernel options do you have configured for your boot entries?
None that I know of. Unfortunately I’m in FreeBSD now and can’t reach my Linux partitions where the GRUB configuration is. But if I have any kernel options, they are the default ones for Kubuntu (no kernel options for my FreeBSD kernel).
* Which of those options did you manually change, rather than accept the generated defaults?
None.
* In your opinion, what is the most difficult thing to know or understand about GRUB?
a) How to install into some partition/MBR.
b) The naming of hard drives/partitions that it uses.
Regarding configuration for non-technical; What I did once was set up GRUB to book very fast and not show any menu be default for my mom, since she wanted Windows to boot straight away (but I needed GRUB there to boot a FreeBSD system on another disk).
Regards,
Elvis
Everyone seems to have covered the technical aspects but no one mentioned the fun aspect; grubsplash. It would be nice to be able to select the grubsplash screen as well, not just turn it off. As someone who likes to keep changing things that would be a nice little feature.
Just my 2 bits.
Shaun
> If you ever have had to manually modify GRUB, what did you change?
I self-compile my kernels and the file names of my kernel images include their version and revision number, hence I need to modify the grub menu accordingly. Related to that, I regularly change the default system that is booted automatically after the configurable timeout, and have tweaked that timeout value over time. I also enjoy giving the available boot choices descriptive names.
> What kernel options do you have configured for your boot entries?
The framebuffer video driver and resolution parameters for high-resolution console support.
> Which of those options did you manually change, rather than accept the generated defaults?
All of them. My grub configuration is hand-written. I would find a good GUI (and not necessarily one that conveys the entire wealth of options) quite valueable however, especially for supporting systems deployed among friends and family. In those cases, naming and boot default after timeout would be especially important.
> In your opinion, what is the most difficult thing to know or understand about GRUB?
Device and partition numbering / calling conventions differ from Linux’.
> If you ever have had to manually modify GRUB, what did you change?
timeout, colours, background image, just playing around :)
> In your opinion, what is the most difficult thing to know or understand about GRUB?
definitely the different naming conventions between linux and grub - ubuntu forums are full of confused people…
> If you ever have had to manually modify GRUB, what did you change?
Timeout, video mode, default
> In your opinion, what is the most difficult thing to know or understand about GRUB?
Syntax, stages.
>GRUB configuration for a non-technical user
Changing default, renaming title, removing safe mode and memtest
I use mandriva which comes whith a bootloader configuration GUI.
Perhaps it’s not the best designed, but it is alwready able to modify LILO an GRUB settings.
You may be searching for something already there.
This tool should be GPLed as Mandriva claim to DEVELOP only free software
It’s part of the Mandriva controle center.
There seems to be a C ( Probably GTK ) and a Perl version.
Two of the devs are : daouda@mandriva.com
tvignaud@mandriva.com
I hope it can help for inspiration / fork
Well, I confirm the “last OS booted” is pretty useful and would be more thought about if an explicit option of a GUI…
I’m looking forward this wonderful GRUB conf GUI !
1) boot from new kernel (new boot entry)
2) acpi=… (not necessary anymore), nonetwork runlevel
3) default boot entry
4) default boot entry (name instead of number better). winxp
If you ever have had to manually modify GRUB, what did you change?
Default OS, Timeout, loaded kernel/initrd image.
What kernel options do you have configured for your boot entries?
only the very basic stuff like changing the screen resolution and ordering of the harddisks.
Which of those options did you manually change, rather than accept the generated defaults?
I changed them manually because the defaults didn’t work for me.
>In your opinion, what is the most difficult thing to know or understand about GRUB?
What to do when you power on your pc and all you get is the GRUB prompt.
btw, thanks for the link to the kernel parameters. I’ve been trying to get a list of these magical words for quite some time ;)
If you ever have had to manually modify GRUB, what did you change?
Time out, added init 3 mode, default entry.
Even though that might require suport for it on other operating systems, I would really like “make last booted OS default” possible. All my accounting soft in on windows, and Hibernating > restart brings me Linux if I am not attentive.
What I wouldn’t like is what Osuse does - if linux was suspended2disk - it never actually prompts for grub choices and goes directly into Linux. (I understand the thought, but is really stiks) So, whatever you guys come up with, don’t be like osuse. :)
* If you ever have had to manually modify GRUB, what did you change?
a) the order of the boot menu entries, and together with that, the default boot selection. If you haven’t done so already, please read my comment at your
‘(K)UDS Summary’ blog entry, I think it should be changed by default.
b) the timeout.
c) I put in my own splashscreen. which is not something that everyone does, however, everyone can get the grub-splashimages package and set the splashimage property to one of those.
d) deleted the “savedefault” command from the Windows boot entry, although I believe it’s not effective by default. I think you need to create some file or directory before the savedefault stuff works. I think (K)ubuntu did not yet do this automatically, which I am grateful for :)
* What kernel options do you have configured for your boot entries?
root=/dev/sda3 ro quiet splash
which is the standard one.
* Which of those options did you manually change, rather than accept the generated defaults?
None, the defaults work great for me. Does it even make sense to change anything in the menu.lst when the Debian automagic kernel generator dismisses it anyways for the next installed kernel?
* In your opinion, what is the most difficult thing to know or understand about GRUB?
How to get it back if Windows was reinstalled and wrote a new MBR without asking. You might want to consider a “GRUB recovery tool” on the LiveCD.
Also, if you provide a menu.lst editor, make sure to tell the users that they should remove older kernel entries by uninstalling the kernel package, _not_ just removing the boot entry in GRUB, because it will be regenerated. That’s inside the menu.lst in form of comments, but your tool will likely not show those, so you need to tell them otherwise.
I confirm the existence of this tool: it’s called drakboot, and it’s written using Perl-GTK. It’s also GPLed.
I’ve seen some distros that have good looking grub interfaces (with pixmaps and so), I think it can be done in grub, it would be nice to be able to change it in the gui.
I’d like too a way to relate the hd(x,x) stuff with the hdd content or the /dev device, I’ve find it difficult to relate some times…
I like this project idea… is there any chance to contribute?
I always hated that Ubuntu added 2 new kernel entries to the top of the list every time there’s a new kernel package. When you dual-boot, it auto-detects windows, and adds it to the bottom of the list.
After a few months of kernel upgrades it takes a lot of down-arrowing to get to Windows. About the only time I edit menu.lst is to remove the older kernel entries. But maybe this would be better off in the kernel package, ie, only have the latest two ubuntu kernels in the list, and auto-remove the others.
Having an easy way to add/remove (or even disable/comment out) entries would be nice.
[…] Şu sayfada genel anlamda GRUB önbilgisi verilmiş ve hangi durumlarda GRUB arayüzünde manuel düzenleme gerekebileceği tartışılmış. […]
The trickiest thing about configuring GRUB is figuring out which drive/partition is which. The last to incarnations of the Ubuntu installer improperly identified the order of my hard disks. I have two IDE and one SATA drives. The installer thought (hd0,0) was the first IDE drive while GRUB thinks the SATA drives was. When I first ran into the problem I had to resort to trial and error to figure out which device had which GRUB drive number.
The other reason I’ve had to edit menu.lst is remapping drives for Windows. I have Windows installed on (hd1,0) but it will only boot if it thinks it’s on the first hard disk. I therefore have to “map (hd0,0) (hd1,0)” and “map (hd1,0) (hd0,0)”. Ideally this should be detected at install and fixed setup from the start, but that has nothing to do with your project. I have no idea how one could write a GUI for remapping drives, but it’s probably a rare enough occurance that it would be necessary.
*If you ever have had to manually modify GRUB, what did you change?
add my new kernel entry
*What kernel options do you have configured for your boot entries?
currently I have removed “silent or was it quiet” “splash” and added vga=normal because usplash does not support 1280×800 resolution (only 4:3 aspect ratios as I understand)
*Which of those options did you manually change, rather than accept the generated defaults?
uncommented pretty colors and commented hiddenmenu cause pretty is a feature!
*In your opinion, what is the most difficult thing to know or understand about GRUB?
vga= values; partition order (naming; why it isn’t sda1 but hd0,0?)
If you ever have had to manually modify GRUB, what did you change?
- Change the default boot kernel
* If you ever have had to manually modify GRUB, what did you change?
In my experience of a person who just experiments a bit with Linux the most frequent operations are setting a default OS in boot sequence and changing the names of available operating systems (mostly because Windows is sometimes referred to as”Other”)
* In your opinion, what is the most difficult thing to know or understand about GRUB?
Messing with config file or dealing with unfriendly (for non-experienced users) commandline of GRUB itself.
If you ever have had to manually modify GRUB, what did you change?
The time till the boot-up starts, default is too long for my taste.
> If you ever have had to manually modify GRUB, what did you change?
Usually to modify the order of my kernels, add a new one (in my Gentoo days), and specify parameters on laptops like “vga=791″.
> What kernel options do you have configured for your boot entries?
Other than (k|x)ubuntu’s defaults just vga=791
> Which of those options did you manually change, rather than accept the generated defaults?
See previous answer.
> In your opinion, what is the most difficult thing to know or understand about GRUB?
The way GRUB references hard drives and partitions I found confusing at first. It took a bit getting used to.
“In your opinion, what is the most difficult thing to know or understand about GRUB?”
The Debian “AUTOMAGIC KERNEL LIST”. That thing totally screwed with my mind. I ended up deleting the whole thing and editing the entries by hand because I couldn’t find any information on how to use it.
“If you ever have had to manually modify GRUB, what did you change?”
1) I use Kubuntu, so I’m really excited about this project! At some point, a kernel upgrade caused my grub entry for Windows XP to disappear, which scared the crap out of me! Thankfully, a backup of menu.lst had been made automatically, and a little copying and pasting got my XP entry back.
2) Then, I re-did the whole list, because I was sick of it listing 3 different kernels for both Ubuntu and Kubuntu. I mean, I only had three operating systems installed, I didn’t need seven listed. So I made the “Ubuntu” and “Kubuntu” entries point to just the latest kernel (vmlinuz), inserted a separator, and then made entries that pointed to the second latest kernel (vmlinuz.old).
3) Having succeeded in those tasks, I felt confident enough to change the color scheme and make it pretty. :-) A graphical background would be even cooler, but figuring out how to configure that would take more energy that it’s worth for me. Now, if I had a GUI and could just pick a wallpaper image, that would be great.
“What kernel options do you have configured for your boot entries?”
What’s a kernel option? I sure am glad I didn’t have to figure that out! (I mostly edited entries by cutting and pasting.)
“Which of those options did you manually change, rather than accept the generated defaults?”
Manually changed: color scheme, default OS, timeout length, entry list.
* If you ever have had to manually modify GRUB, what did you change?
Deleted old entries after ubuntu kernel update, changing the boot countdown.
* What kernel options do you have configured for your boot entries?
Huh, erm… kernel options? You mean those cryptic entries following each “title”? I really don’t want to mess with those. I either delete a whole entry or leave it as is. I’m scared by those “options”.
* Which of those options did you manually change, rather than accept the generated defaults?
N.o.n.e.
* In your opinion, what is the most difficult thing to know or understand about GRUB?
Kernel Options. Although they might be related to linux in general and not especially to GRUB, they really do scare me. Editing text files is good for users who know what they are doing - but since I don’t know, I’d rather prefer the fool-proof point’n'click configuration, especially with something that critical as a boot loader.
1. kernel version (after I copied the image for the new version to /boot/vmlinuz-gentoo-version); then deleting entries of old versions that I don’t want to keep (I have usually at least two versions in case something goes wrong with the one currently in use); the last thing is probably the “default” option specifying which option is preselected at groub startup
2. root=/dev/hda6 vga=791 video=vesafb:mtrr,ywrap CONSOLE=/dev/tty1 gentoo=nodevfs
3. I don’t remember if I ever generated a configuration :)
4. certainly the assignement between (hdx,y)-form of specifying partitions and the real meaning to someone; it was especially hard with my friend’s computer that I installed - he has two disks, on SATA, and I could not get it configured after an hour of trying. I found some tips about remapping devices in device.map (or something like that), but that was so awful and I so much did not understand it that I left it as it was - not configured. The solution was to physically unplug the disk not in use, because on the second disk, there was Windows bootloader and it booted ok.
Hope this brings some thoughts/suggestions :)
>>If you ever have had to manually modify GRUB, what did you change?
I usually add grub password, spalshimage, default kernel and a timeout.
>>What kernel options do you have configured for your boot entries?
Init (bootchart) and root.
>>Which of those options did you manually change, rather than accept the generated defaults?
I wrote it from scratch…
>>In your opinion, what is the most difficult thing to know or understand about GRUB? For a newbie it is probably the disc/partition numbering convention. Pro user may get stuck at setting reasonable fallback/savedefault.
Hi,
I prefer more advanced software with command-line backend (combining lilo and grub adjustability) and graphical frontend. Communicating would provide some meta-language. So it’s possible to do thinks like `cat /boot/grub/menu.lst | program –to-lilo > /tmp/lilo.conf’. Easy and transparent…
* If you ever have had to manually modify GRUB, what did you change?
kernel options(vga=…, root=…), init ramdisk, NT loader description
* What kernel options do you have configured for your boot entries?
root, ro, single, video
* Which of those options did you manually change, rather than accept the generated defaults?
video (replaces vga)
* In your opinion, what is the most difficult thing to know or understand about GRUB?
mu, everything’s easy. perfectly transparent.
Hi,
although I didn’t find editing menu.lst difficult to use some GUI for this, I agree to your opinion, that it could be difficult for beginners. I think that your idea to make some GUI for setting boot options is very good, but don’t you find it a little bit halfway that it will be limited only to grub (and not also to lilo)?
OK - here are some answers for your qustions:
* If you ever have had to manually modify GRUB, what did you change?
Mostly it was some kernel option (vga=, root=, ramdisk_size=),initial ramdisk and password
* What kernel options do you have configured for your boot entries?
root, ramdisk_size, video
* Which of those options did you manually change, rather than accept the generated defaults?
video resolution
* In your opinion, what is the most difficult thing to know or understand about GRUB?
nothing, in my opinion is grub configuration simple and transparent
[…] Şu sayfada genel anlamda GRUB önbilgisi verilmiş ve hangi durumlarda GRUB arayüzünde manuel düzenleme gerekebileceği tartışılmış. […]
Women in Open Source Mini-conf…
I wasn’t sure what to expect from a Women in Open source mini-conf and ended up being quite pleased with the event. The atmosphere was informal with very good interaction between the speakers and attendees. It was a long day (9 to 8) so attendance va…