On Thu, 2009-12-31 at 11:47 -0800, B wrote:
> waynel,
> 
> I tried what you suggested but since the Custom 40 file is read only, it 
> won't let me save the changes added...Any suggestions? Thanks...

If you do not already have an /etc/grub.d/40_custom copy Wayne1's there
with

sudo cp 40_custom /etc/grub.d/

Your /etc/grub.d/ directory should look very similar to:

b...@bob-desktop:~$ ls -l /etc/grub.d/
total 32
-rwxr-xr-x 1 root root 3296 2009-10-23 17:43 00_header
-rwxr-xr-x 1 root root 1154 2009-10-23 17:31 05_debian_theme
-rwxr-xr-x 1 root root 3778 2009-10-23 17:43 10_linux
-rwxr-xr-x 1 root root  772 2009-10-23 09:24 20_memtest86+
-rwxr-xr-x 1 root root 5467 2009-12-07 14:49 30_os-prober
-rwxr-xr-x 1 root root  214 2009-10-23 17:43 40_custom
-rw-r--r-- 1 root root  483 2009-10-23 17:43 README
b...@bob-desktop:~$ 

The -rwxr-xr-x 1 root root part means that only root can change these
files, but anyone in the root group, or anyone else can only read or
execute the files.

In order to change 40_custom you need to use

gksudo gedit /etc/grub.d/40_custom

which will prompt you for your password, and then allow you to edit the
file. Save the file when you have added the code suggested by Wayne1.

In Ubuntu you can use sudo (or gksudo for gui programs) to temporarily
become root.

I have this set up on my machine -- Ubuntu 9.10 and OpenSolaris 2009.06.
I did exactly as Wayne1 suggests, and it works quite well.

--Bob


_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to