Again, GRUB boot floppy

Nils Kassube kassube at gmx.net
Mon Jun 11 20:19:42 UTC 2007


alex wrote:
> Bruce Marshall wrote:
> > Make up a file named:   /etc/grubfd.conf
>
> I have a problem with this.
>
> I tried using an editor to create an empty file named grubfd.conf
> in /etc but no success.

You need root privilege to write to system directories like /etc. Try

gksu gedit /etc/grubfd.conf

> I can easily create directories but how do you create files except with
> an editor ?

For an empty file:

touch filename

If you want to put some text into the file:

echo 'first line' >filename
echo 'second line' >>filename

Again, you need root privilege if you are not in a directory you own. Then 
you should put sudo before each command.


Nils




More information about the ubuntu-users mailing list