LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   increase timeout value boot menu (https://www.linuxquestions.org/questions/linux-newbie-8/increase-timeout-value-boot-menu-656189/)

makuyl 07-17-2008 10:05 AM

Let's try to confuse you further then. Boot normally without livecd and type this in a terminal:
sudo sed -i '/timeout/s/=/\ /' /boot/grub/grub.conf

Same thing for the default line would be:
sudo sed -i '/^default/s/=/\ /' /boot/grub/grub.conf

If you don't use sudo, become root first with "su -".
If you don't have sed, try to figure out which editor linpus uses for console. Try pico, editor, mcedit, vi, or type "apropos editor" to see what the system gives you.

jundcb 07-17-2008 10:07 AM

oh, but my external cdrom is not attached to my laptop and its also empty, is that possible not to have a menu.lst or grub.conf in my system?

makuyl 07-17-2008 10:09 AM

Well, where did you find the stuff you pasted in your first post unless in grub.conf or menu.lst?

jundcb 07-17-2008 10:31 AM

oh yeah, getting confused already lol, well i have grub.conf since i can see it if i type

mkdir linpus
sudo mount -t ext3 /dev/hdc1 linpus
cat linpus/boot/grub/grub.conf

but i cant edit it

makuyl 07-17-2008 10:47 AM

Still on the live-cd I take it.
Is the mounted partition actually writable. Type "mount" and see if there's an "rw" after the line.
If not, type "sudo mount -o remount,rw -t ext3 /dev/hdc1 linpus".
Then type/paste in: sudo sed -i '/timeout/s/=/\ /' linpus/boot/grub/grub.conf
Or check which editor the live-cd comes with. Try "editor" for starters.

jundcb 07-17-2008 10:49 AM

im not on the livecd, im doing this in linpus

makuyl 07-17-2008 10:52 AM

Now I got confused by this then:
Quote:

Originally Posted by jundcb (Post 3217728)
mkdir linpus
sudo mount -t ext3 /dev/hdc1 linpus
cat linpus/boot/grub/grub.conf

So, can you find an editor for the console?

jundcb 07-17-2008 11:18 AM

im just going to used the livecd, it'll save us all the trouble lol

jundcb 07-17-2008 11:27 AM

i removed the = from timeout but the boot menu is still at 4 seconds

jomen 07-17-2008 11:42 AM

Quote:

mkdir linpus
sudo mount -t ext3 /dev/hdc1 linpus
cat linpus/boot/grub/grub.conf
That means you may have an installation of linpus on /dev/hdc1.
But you are definitely not running that installation - from what you posted earlier.

You can edit /boot/grub/grub.conf on /dev/hdc1 as much as you like - as long as you are not booting from that partition it will be in vain.

How do you boot - how do you know what you boot.
How did you get your linpus installed?
I only have a copy of linpus.live and it does have no option to install it to hd.

jundcb 07-17-2008 11:53 AM

it was pre installed on my lappy when i got it, i made a partition then installed xp, after that i used supergrub to get my boot menu but couldnt get it to work so i had to manual install grub to get my boot menu

jomen 07-17-2008 12:23 PM

...and how did you install grub?
From the output of "mount" one can only conclude that there is no harddrive mounted from which you are running your OS.
It looks exactly like the live cd.
One can see that /media/disk is the mountpoint for /dev/hdc2 - which could be your windows partition.

...which is not an easy thing to do - windows is difficult to install on anything other than the first partition of the first drive.
/dev/hdc is indicating that the drive is the secondary master AFAIK
Where is your primary master ( /dev/hda )?

From a live-cd I'd check which partition is which...
fdisk -l
and check the boot order in the BIOS

very confusing - you need a structured approach starting with the very simple

jundcb 07-17-2008 01:16 PM

sudo grub
root (hd0,0)
setup (hd0)
quit

thats what i used for the manual install

i also booted from a livecd, went to applications-accessories opened a terminal and typed fdisk -l but nothing happens


i booted in linpus and typed fdisk -l

Disk /dev/hdc: 40.0 GB, 40000536576 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2432 19535008+ 83 Linux
/dev/hdc2 2433 4863 19527007+ c W95 FAT32 (LBA)

jundcb 07-17-2008 01:56 PM

also used supergrub and saw that my linux is hda1 and windows hda2

makuyl 07-17-2008 02:08 PM

Let's see grub.conf again then. While having normally booted into the hd install paste here output of "cat /boot/grub/grub.conf". And don't mount anything, just type the command.


All times are GMT -5. The time now is 03:14 AM.