Posts Tagged ‘entry’

Change grub default boot option on Linux Ubuntu/Mint

Wednesday, April 25, 2012 posted by CSch

Grub’s default boot option is stored within a config file found on the partition where your Master Boot Record is located (if you had it installed previously, there may also be grub.cfg files on other partitions, but these won’t effect boot sequence). Its direct path is /boot/grub/grub.cfg and it has to be opened as root, so enter following into a terminal:

sudo gedit /boot/grub/grub.cfg

The important parts of the file is the line saying set default=”0″ and the blocks beginning with menuentry:

[...]
menuentry ‘Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda5)’ –class linuxmint –class gnu-linux –class gnu –class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root=’(hd0,msdos5)’
search –no-floppy –fs-uuid –set=root 7df91f6c-5351-4336-a3c5-eac1cf58efca
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=7df91f6c-5351-4336-a3c5-eac1cf58efca ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
[...]

These blocks are the entries that are displayed in the boot menu – they are indexed from 0 to n-1, n being the number of entries. To set the default entry, take its index and enter it into the set default=”0″ line, replacing 0 with the desired index. Afterwards save the file.

Remove Erroneous Firefox Configuration Entry (Windows 7)

Tuesday, December 6, 2011 posted by CSch

If you entered an erroneous entry into the about:config database of Mozilla Firefox, you will have noticed that there is no option in the browser itself that enables you to remove that entry. Instead, find the config file in your desktop explorer:

C:\Users\YourUsername\AppData\Roaming\Mozilla\Firefox\Profiles\weirdstring\prefs

YourUsername has to be replaced with the name of the user you’re logged in with and weirdstring is a string consisting to mainly numbers which represents your Firefox profile. Edit the prefs file with notepad, track down the entry you want to delete and erase the full line.