[Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Goh Lip

I need to modify /boot/grub/grub.cfg in lubuntu that I've set up in usb drive.
But I found that it is not possible through lubuntu.
I had to boot up kubuntu to edit it.

What is the equivalent in Lubuntu for 'kdesudo kate' or 'gksudo gedit' ?

-- 
Regards - Goh Lip

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Glen Bizeau
or the graphical way

alt-f2

gksudo leafpad

Glen


On Wed, Apr 21, 2010 at 11:00 AM, Glen Bizeau gbiz...@gmail.com wrote:
 Open lxterminal

 sudo vi /boot/grub/grub.cfg

 Glen


 On Wed, Apr 21, 2010 at 10:48 AM, Goh Lip g@gmx.com wrote:

 I need to modify /boot/grub/grub.cfg in lubuntu that I've set up in usb 
 drive.
 But I found that it is not possible through lubuntu.
 I had to boot up kubuntu to edit it.

 What is the equivalent in Lubuntu for 'kdesudo kate' or 'gksudo gedit' ?

 --
 Regards - Goh Lip

 ___
 Mailing list: https://launchpad.net/~lubuntu-desktop
 Post to     : lubuntu-desktop@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~lubuntu-desktop
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Glen Bizeau
Open lxterminal

sudo vi /boot/grub/grub.cfg

Glen


On Wed, Apr 21, 2010 at 10:48 AM, Goh Lip g@gmx.com wrote:

 I need to modify /boot/grub/grub.cfg in lubuntu that I've set up in usb drive.
 But I found that it is not possible through lubuntu.
 I had to boot up kubuntu to edit it.

 What is the equivalent in Lubuntu for 'kdesudo kate' or 'gksudo gedit' ?

 --
 Regards - Goh Lip

 ___
 Mailing list: https://launchpad.net/~lubuntu-desktop
 Post to     : lubuntu-desktop@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~lubuntu-desktop
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Phillip Whiteside
Can i recommend that you have a read of
https://help.ubuntu.com/community/Grub2 if you want to learn about modifying
grub

Phill.

On Wed, Apr 21, 2010 at 3:02 PM, Glen Bizeau gbiz...@gmail.com wrote:

 or the graphical way

 alt-f2

 gksudo leafpad

 Glen


 On Wed, Apr 21, 2010 at 11:00 AM, Glen Bizeau gbiz...@gmail.com wrote:
  Open lxterminal
 
  sudo vi /boot/grub/grub.cfg
 
  Glen
 
 
  On Wed, Apr 21, 2010 at 10:48 AM, Goh Lip g@gmx.com wrote:
 
  I need to modify /boot/grub/grub.cfg in lubuntu that I've set up in usb
 drive.
  But I found that it is not possible through lubuntu.
  I had to boot up kubuntu to edit it.
 
  What is the equivalent in Lubuntu for 'kdesudo kate' or 'gksudo gedit' ?
 
  --
  Regards - Goh Lip
 
  ___
  Mailing list: https://launchpad.net/~lubuntu-desktop
  Post to : lubuntu-desktop@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~lubuntu-desktop
  More help   : https://help.launchpad.net/ListHelp
 
 

 ___
 Mailing list: https://launchpad.net/~lubuntu-desktop
 Post to : lubuntu-desktop@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~lubuntu-desktop
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Goh Lip
On Wed, 21 Apr 2010 15:15:16 +0100
Andrew Woodhead andrew.woodhead...@googlemail.com wrote:

 You do NOT edit the grub.cfg ile. That file is generated using config files
 and scripts. You can edit the file but next time:
 sudo update-grub
 is ran the changes will be completely lost.

Yes, I know. Understood.

 LXDE is a GTK based DE so 'gksudo leafpad' is what you  will need (you can
 install gedit if you like but leafpad is a lot leaner and default in LXDE.

Yes, I am new to LXDE, (I use Kubuntu mainly) and I should try to find out more 
about its commands first. Will google and learn more. Thanks for your feedback 
though.


 If you want your changes to grub.cfg to stick you must either:
 1. *Never* upgrade the kernel  OR
 2. Edit Grub2 the correct way so that grub updates get applied and your
 changes stay
 
 The grub.cfg file is marked as read only (even to root) and the file says
 Do not edit this file for a reason. I suggest you read:
 https://help.*ubuntu*.com/community/*Grub2*

Andrew, besides setting a (previous) grub of hard drive to sda (mbr) and 
updating it for to include Lubuntu, I've also set grub to the usb thumb drive 
so that it is portable AND bootable from any computer (like what I've done for 
all my previous thumb drives, LILO/grub-legacy then though). However, the 
parameters are always wrong and needs to be corrected. (not peculiar to 
Lubuntu, happens to all); for example, booting from usb drives will always be 
(hd0,1) not what was specified (like (hd2,1) or (hd3,1)). and root=/dev/sda 
needs to be changed to root=/dev/sdc1 for example. Sometimes it will boot, (but 
not always) due to the specified UUID but I like to make sure it ALWAYS boot 
wherever the thumb drive is put. So I will modify the grub.cfg by the following 
method... 

At /etc/grub.d, make a new entry, say 08_mefirst as a custom entry and make it 
executable.
I put in the entry 

menuentry 'Lubuntu' --class ubuntu --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c25a3c07-99ba-456a-b8f1-54aa427c2d87
linux   /vmlinuz root=UUID=c25a3c07-99ba-456a-b8f1-54aa427c2d87 ro   
quiet splash
initrd  /initrd.img
}

Note the (hd0,1) and that /vmlinuz is not the specified kernel number (so that 
it will always be the latest kernel).
I'll leave the 10_linux as is.
Then I'll do the update-grub or grub mk-config -o /boot/grub/grub.cfg.

Andrew, if you see anything wrong with this, will appreciate your feed back.
Thanks again.

Regards _ Goh Lip

ps: my hard drive grub (grub2) that is set to sda (mbr) is from a separate grub 
partition, OS- independent and similarly heavily modified and not affected by 
any kernel upgrade of any OS either. (nuke-proof)



-- 


___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Goh Lip
On Wed, 21 Apr 2010 11:02:47 -0300
Glen Bizeau gbiz...@gmail.com wrote:

 or the graphical way
 
 alt-f2
 
 gksudo leafpad


 On Wed, Apr 21, 2010 at 11:00 AM, Glen Bizeau gbiz...@gmail.com wrote:
  Open lxterminal
 
  sudo vi /boot/grub/grub.cfg

Thanks, Glen and Andrew.  Got it. Thanks. (and that was fast!)

One side note here.
Lubuntu is definitely the best distro to set to a usb drive. I find Ubuntu (and 
Kubuntu) Netbook Remix to be not suitable for usb installation as the transfer 
speed from usb is far too slow to be any.er, fun. Puppy and dsl linux is 
too skeletal to be of any.. er, use. (try installing flash; fonts 
horrible). I used to carry dsl thumbs for my extensive travels some time back. 
(lab tops were too heavy then). Tried Lubuntu install to usb just to test. I am 
impressed. The choice of applications is good, with slypheed now with newsgroup 
capability. Kudos to the Lubuntu team. Great job.

Any possibility to 'port' the mailing list to gmane newsgroup? Would be very 
handy.

Andrew, I will reply to your post separately about modifying grub.cfg. 
Thanks for your input.

Regards and Thanks _ Goh Lip




-- 


___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] Modifying files in Lubuntu

2010-04-21 Thread Goh Lip
On Wed, 21 Apr 2010 16:23:15 +0100
Phillip Whiteside phi...@phillw.net wrote:

 Hi, do you mind if i use your comment of lubuntu here --
 forum.phillw.net/viewtopic.php?f=18t=73  I always strip out the name of the
 person.
 
 Thanks,
 
 Phill.
 P.S. I love lubuntu as well :-)


Sure thing Phil, hope this helps.
I am mostly at Lubuntu now, (on the thumb drive!) though I have Kubuntu Hardy, 
Lucid on hard drive install.
awesome! 

Regards, take care - Goh Lip

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp