-

Originally Posted by
ckyip
If you in root shell, just enter:
vim /boot/grub/menu.lst
or
nvi /boot/grub/menu.lst
vim or nvi is editor on command prompt
I did this and I get nothing. I now know why I use XP. This is very difficult. All I weant to do is to change the default to saved (last system loaded) or the XP as default system Me and my family use XP all the time but I want to try linux and work with it so I only want it to load when directed not as default. There must be a way to do this. I can see what I have to do but I can not get it done
what my system has:
# menu.lst - See: grub(
, info grub, update-grub(
# grub-install(
, grub-floppy(
,
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
What I want:
# menu.lst - See: grub(
, info grub, update-grub(
# grub-install(
, grub-floppy(
,
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default saved
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
But my system will not allow me to save any changes to the file
-
Quick way: sudo sed -i '/default\t/s/0/saved/' /boot/grub/menu.lst
Or if you are root (prompt ends with # instead of $): sed -i '/default\t/s/0/saved/' /boot/grub/menu.lst
The above assumes you have a tab after default, but quoting it here removed it.
If still doesn't work, post the output of the following commands:
ls -l /boot/grub/menu.lst
mount
whoami
-
Junior Member
registered user
Linux (GNU Linux) is some how different from window XP system.
I guess you want something like window XP control panel.
But linux something like control panel in graphical mode may not include low level setting.
For example the boot loader.
Your have to edit low level setting not in window XP control panel editing way.
I guess you cannot edit the menu.lst because of some reason:
1. file read only permission?
chmod 777 /boot/grub/menu.lst
2. not save your changes after editing because your don't know how to use editor in command prompt?
after editing, to save changes:
press 'Esc', ':wq'
etc...
-
Thanks all. I appreciate your help but I have no idea how to do this. I'll try a few more times then I will have to re install XP if I can not get it to work. I would have liked working with Linux but I guess its not a program for nontech people like myself.
Similar Threads
-
By johnwaynegoodin in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-04-2009, 10:44 AM
-
By Gemu in forum General Support
Replies: 2
Last Post: 01-28-2009, 09:32 AM
-
By boricua in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-30-2007, 06:02 PM
-
By ismanpa in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 07-24-2006, 11:04 AM
-
By cronex2000 in forum General Support
Replies: 5
Last Post: 05-24-2004, 03:56 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

SK Hynix 32GB 2Rx4 PC4-2400T HMA84GL7MFR4N-UH DDR4 Server Memory RAM
$199.00

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

HPE 32GB 2Rx4 PC4-2933Y-R DDR4 Svr RAM P03052-091 P00924-B21 M393A4K40DB2-CVFBY
$270.00

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Kingston 32GB 2Rx4 PC4-2400T-RB1-11 ECC REG Server Memory HP24D4R7D4MAM-32
$150.00

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00

LOT of 4 x DDR4 DDR5 Laptop Memory RAM Sticks 32GB PC4-3200AA, 16GB PC5-5600B
$265.00

Samsung 32GB (1x32GB) PC4-17000 (DDR4-2133) LRDIMM Memory (M386A4G40DM0-CPB0Q)
$120.00

Micron 64GB DDR4 PC4-2666V 4DRx4 ECC LRDIMM MTA72ASS8G72LZ-2G6D2 SERVER MEM
$320.00