Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: arrio on January 17, 2011, 11:28:06 PM

Title: not loaded menu.lst
Post by: arrio on January 17, 2011, 11:28:06 PM
Hi, i installed Tinycore linux, and create a file  /mnt/hda1/boot/grub/menu.lst

default 0
timeout 10
title tinycore
kernel /boot/bzImage quiet
initrd /boot/tinycore.gz

but after reboot i see: Grub> _
i manually enter kernel /boot/bzImage quiet and then initrd /boot/tinycore.gz and linux loading ok. Why so? Why linux don't access to menu.lst file? Path for file is right...
Title: Re: not loaded menu.lst
Post by: Juanito on January 17, 2011, 11:33:40 PM
Did you follow this part of the instructions:
Code: [Select]
In the grub prompt,
root (hd0,0)
setup (hd0)
quit

..assuming you're using hda1
Title: Re: not loaded menu.lst
Post by: arrio on January 17, 2011, 11:46:29 PM
 grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

 grub> setup (hd0)
checking   if "/boot/grub/stage1" exists ... yes
checking   if "/boot/grub/stage2" exists ... yes
Running "embed /boot/grub/e2fs_stage_1_5 (hd0)" ... 16 sectors are embedded. succeeded.
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2/boot/grub/menu.lst" .... succeeded

   and after reboot so invitation:
   grub> _ ....

when i try to tape
grub> root (hda1,0) - error 23: error while parsing number... root (hd1,0) - selected disk does not exist...

   but after manually boot
FDISK -l:
                         boot    system
/dev/hda1           *        Linux
/dev/hda2                    Extended
/dev/hda5                    Linux
Title: Re: not loaded menu.lst
Post by: cURIOUSgEORGE on January 18, 2011, 01:01:00 AM
Because you didn't save it. I just had the same exact problem. When you save it after finishing your vi /mnt/hda1/boot/grub/menu.lst press esc then ZZ "CAPITAL" ZZ .........Don't bother with :x , It didn't work for me.......

If after redoing it and you find it don't work just pop the cd in and type "microcore base" without the quotes, redo your hda1 and only your hda1........cfdisk /dev/hda and continue from there

I'm a newbie to and I know nothing but this is what help me so I hope it helps you out too 8).
Title: Re: not loaded menu.lst
Post by: Guy on January 18, 2011, 01:29:47 AM
There is another way now. Easier for new users.

Open the terminal and type:

sudo editor

Type in the commands you require in Grub.

Save it as menu.lst in /mnt/hda1/boot/grub/
Title: Re: not loaded menu.lst
Post by: arrio on January 18, 2011, 01:44:31 AM
There is another way now. Easier for new users.

Open the terminal and type:

sudo editor

Type in the commands you require in Grub.

Save it as menu.lst in /mnt/hda1/boot/grub/
Thanks,
i've already done it... but my error was in file menu.lst ... i wrote /mnt/hda1/boot... i change it for /boot... and all work correctly 8^)

But there is more problem... My be it must be in new topic, but... why i cannot connect for  http://distro.iiblio.org/pub/linux/distributions/tinycorelinux/ whith APPS
While i can download with tce-load.... (eg tec-load -wi cfdisk.tcz)

 My network worked correctly, i can ping http://distro.iiblio.org, but i cannot download extension - Error connection... may be it is wrong adress for repository and where i can change it?
Title: Re: not loaded menu.lst
Post by: Guy on January 18, 2011, 02:08:04 AM
Open Apps.

Click Mirrors.
Title: Re: not loaded menu.lst
Post by: arrio on January 18, 2011, 02:30:19 AM
Open Apps.

Click Mirrors.
some connection error...
Title: Re: not loaded menu.lst
Post by: tinypoodle on January 18, 2011, 02:40:03 AM
Not sure if 'tce-load -w' would work if url of selected mirror was wrong...
Title: Re: not loaded menu.lst
Post by: arrio on January 18, 2011, 02:44:48 AM
Not sure if 'tce-load -w' would work if url of selected mirror was wrong...
really workd... i can ping internet adresses.. eg
tc@box: Ping ya.ru
Ping ya.ru (87.250.250.3) 56 data bytes
....
but Apps lists extensions is emty and error connection...
Title: Re: not loaded menu.lst
Post by: tinypoodle on January 18, 2011, 03:08:11 AM
Not sure if there would be any hope to get some more output when opening 'appbrowser' from command line, but then you got nothing to lose by doing so   ;)
Title: Re: not loaded menu.lst
Post by: arrio on January 18, 2011, 03:26:58 AM
Not sure if there would be any hope to get some more output when opening 'appbrowser' from command line, but then you got nothing to lose by doing so   ;)
heh... it's unusably))) fast DOS command line))
Title: Re: not loaded menu.lst
Post by: tinypoodle on January 18, 2011, 03:42:49 AM
Huh?   ???
Title: Re: not loaded menu.lst
Post by: cURIOUSgEORGE on January 21, 2011, 08:22:46 PM
 About your problem with appbrowser-I Also had that problem after downloading something, so what I did was went to opt then tce mirror and noticed it was something totally wrong so I changed it back to http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/         

and it worked like a charm! 8)