龙芯开源社区

 找回密码
 注册新用户(newuser)
查看: 8629|回复: 3

Problem with ubuntu in my lemote, Boot,cfg

  [复制链接]
发表于 2009-4-27 07:52:45 | 显示全部楼层 |阅读模式
Hello
I have a big problem,i need help
I put the HDD of my Lemote Yeeloong 8089_C  in my "desktop pc" for format and install
"linux Ubuntu 8.04.1" (in this moment, i don't have pendrive).
I Did format of my hdd, and i create one partition of 160 gb (BIG
ERROR), ok in this step all is all right, i finished my instalattion of
Ubuntu and Uubuntu is tarted on my Desktop, when i put of hdd onmy
lemote, DOESN'T WORK!!! :'(

This is the error:
----------------------------------------------------
Configuration [Bonito,EL,NET,IDE]
Version: PMON2000 2.1 (Bonito) #139: Wed Feb 18 16:54:10 CST 2009
Supported Loaders [txt, srec,elf, bin]
Supported filesystems [net, fat, fs, disk, iso9660, socket, tty]
This software may be redistributedunder the BSD copyright.
Copyright 2000-2002, Opsycon AB, Sweden.
Copyright 2006, Lemote Corp. Ltd., ICT CAS.
CPU Loongson2f @ 797.00 MHz / Bus @ 66.00 MHz
Memory size 1024 MB (256 MB Low memory, 768 MB High memory) .
Primary Instruction cache size 64kb (32 line, 4way)
Primary Data cache size 64kb (32 line, 4 way)
Secondary cache size 512kb
no partitions
booting:
Couldn't find devide [wd0]
Couldn't find devide [wd0]
The boot.cfg not existed!System will try default entry from al.
-------------------------------------------------------------
Ok, i think that my problem is in the set of al, karg and rd , but i
dont know how can put correctly in the PMON.
When i put the hdd in my desktop i put in the terminal this: sudo gedit
/boot/grub/menu.lst
For try recognize teh path correctly for the PMON, but nothing or i
don't know how work it.
The "menu.lst" in my desktop machine with the hdd of lemote and ubuntu installed is here:
------------------------------------------------------------------
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default  0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout  3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#    password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title  Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader +1
#
# title  Linux
# root  (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=1fb540ff-e165-4431-94f7-00ac39a61c1b ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##   howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title  Ubuntu 8.04.1, kernel 2.6.24-19-generic
root  (hd0,0)
kernel  /boot/vmlinuz-2.6.24-19-generic
root=UUID=1fb540ff-e165-4431-94f7-00ac39a61c1b ro quiet splash
initrd  /boot/initrd.img-2.6.24-19-generic
quiet
title  Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root  (hd0,0)
kernel  /boot/vmlinuz-2.6.24-19-generic
root=UUID=1fb540ff-e165-4431-94f7-00ac39a61c1b ro single
initrd  /boot/initrd.img-2.6.24-19-generic
title  Ubuntu 8.04.1, memtest86+
root  (hd0,0)
kernel  /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
--------------------------------------------------------------------
and now with this information i did modify the set paramerts in the PMON and finished like that
--------------------------------------------------------------------
PMON> env
ShowBootMenu =yes
karg = "-S console=tty root=UUID=1fb540ff-e165-4431-94f7-00ac39a61c1b"
al = /boot/vmlinuz-2.6.24-19-generic
rd = /boot/initrd.img-2.6.24-19-generic
memsize = 256
highmemsize = 768
cpulock = 797000000
busclock = 66000000
systype = Bonito
ECVersion= PQ1D10
brkcmd = "l -r @cpc 1"
datasize = -b [-b -h -w -d]
dlecho = off [off on lfeed]
dlproto = none [none XonXoff EtxAck]
bootp = no [no sec pri save]
hostport = tty0
inalpha = hex [hex symbol]
inbase = 16 [auto 8 10 16]
moresz = 10
prompt = "MON> "
regstyle = sw [hw sw]
regsize = 32 [32 64]
rptcmd = trace [off on trace]
trabort = ^K
ulcr = cr [cr lf crlf]
uleof = %
showsym = yes [no yes]
fpfmt = both [both double simple none]
fpdis = yes [no yes]
Version = LM8089-1.3.8
BuildTime = "Feb 18 2009 16:54:00"
--------------------------------------------------------------------
I want to know how set the correctly parameters  for initialize this OS
I have the centainly that in this web site somebody have the answer  . very thanks you.
Regards.
发表于 2009-4-27 11:43:41 | 显示全部楼层
Do you want to run x86 Ubuntu on Loongson2F?
You should install the specifically Linux, or LFS.
发表于 2009-4-27 11:53:41 | 显示全部楼层
it seems you  used the wrong OS, Ubuntu for X86 cannot run in this computer, this computer is MIPS。
Now,you can:
1.http://www.lemote.com/download/download_139.html
2. ubuntu,look at http://www.lemote.com/bbs/viewth ... mp;highlight=ubuntu
3.debian,ftp://debian.bjlx.org.cn/loongso ... n5_20090315.tar.bz2
发表于 2009-5-31 08:44:22 | 显示全部楼层
As the others have pointed out... this machine is not an Intel i686 clone, therefore won't run Ubuntu Linux.

My advice... reformat the HDD on your desktop computer... in your root or boot partition, download the netboot image to it, then place the HDD back in the Yeeloong and boot it.  I notice gNewsense seem to be offering an Ubuntu-like OS... which may be a viable alternative... failing that, Debian is the other option.

There should be a Debian netboot image floating around somewhere... it may be stashed in one of the files linked to above... gNewSense have their instructions here.  You can also install without booting over the network or using a USB disk.  There will be also a Gentoo image, once I get around to actually porting it. :-D

Try the following:
1. Plug in, partition and format the Yeeloong's HDD using your desktop computer.  (There are plenty of guides on the 'net... and some GUI tools such as gParted)  Make sure you have the first partition formatted as EXT2 (revision 1) or EXT3.
2. Mount the first partition somewhere on your system.
3. Download vmlinux and initrd.gz from here to the HDD.  (Alternatively, you may download any other suitable kernel/initrd for the Yeeloong, but the boot commands may need adjustment.)
4. Unmount the HDD, then plug it back into the Yeeloong.
5. Power up the Yeeloong
6. Hit DEL when prompted.  At the PMON2000 shell, enter the following:
  1. load /dev/fs/ext2@wd0/vmlinux
  2. initrd /dev/fs/ext2@wd0/initrd.gz
  3. g console=tty no_auto_cmd
复制代码
The system should boot, and allow you to install over the internet via its ethernet port.

Bear in mind that I'm no expert for gNewSense (I have never used it) or anything Debian based... so if you get troubles, their user community would be the best ones to ask.

本版积分规则

小黑屋|手机版|Archiver|Lemote Inc.  

GMT+8, 2019-1-21 22:10 , Processed in 0.197516 second(s), 20 queries .

快速回复 返回顶部 返回列表