Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu May 24, 2018 12:54 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Lenny Install on LS1 PPC
PostPosted: Wed Dec 02, 2009 5:30 am 
Offline
Newbie

Joined: Sat Jan 07, 2006 7:08 pm
Posts: 25
Location: United States of America
Hi,


I am having trouble trying to install Lenny from the following download file...


http://downloads.buffalo.nas-central.org/Users/davy_gravy/ppc-debian_packages/Lenny-LSPPC-0.1.0.tar.gz


A day or two ago I installed uboot as I thought that this was all that is required in order to run the 2.6 kernel with Lenny? Here is what I see in EM Mode...


Code:
 
  ###################################################
  #                                                 #
  #        LS1 - LSHG - Kurobox - KuroHG            #
  #  Universal 2.4.33.3-Kernel compiled for UBoot   #
  #                                                 #
  #   www.linkstationwiki.net - www.kurobox.com     #
  #                                                 #
  ###################################################

  You are in EM-Mode!

  There is no root-password. Just enter "root".

  FTP-Access
  User: operator
  Pass: operator

  fdisk is included. use it for custom partition sizes.

  Execute "mount_disk" to mount the system + data partitions
  to /mnt/hdaX. Both partitions can be accessed via FTP then.

  Good Luck!

HD-HGLAN-EM login: root


BusyBox v0.60.5 (2003.07.30-12:03+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.




To install I am simply transferring the tar file to /mnt/hda3 via FTP and then I untar the entire file to /mnt/hda1 and make sure the network settings are suitable etc. However when I boot I only get the following...


Code:
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/uImage

2310126 bytes read

2387 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.28.8
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2310062 Bytes =  2.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
   Booting using flat device tree at 0x7f0000



That is where it stops. I see both green lights are on and the linkact light flashes a bit but I hear no disk activity. At this stage I am wondering if I made a mistake regarding the uboot install? Does the uboot version I have installed support 2.6 kernel with Lenny? If not, what do I need to change/fix?

On a positive note I decided to untar freeling back onto /mnt/hda1 and it boots up fine. I would however like to get to the 2.6 kernel with Lenny if at all possible so any pointers regarding what is wrong or what to check would be much appreciated.


Thanks,
Ken.


Top
   
PostPosted: Fri Dec 04, 2009 9:46 pm 
Offline
Newbie

Joined: Mon Jul 09, 2007 5:40 am
Posts: 25
Location: Qu├ębec
Try editing /etc/network/inerfaces

It doesn't pickup an IP for me at boot. Here's my configuration:

Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


Top
   
PostPosted: Mon Dec 21, 2009 10:05 pm 
Offline
Newbie

Joined: Sat Jan 07, 2006 7:08 pm
Posts: 25
Location: United States of America
Panchito,


Thanks for the try but in my case I was not even getting that far. For some reason the 2.6 kernel did not like something about the /dev/hda1 file system and could not mount it and thus the boot hung at that point. I posted more detail (a bit more at least) at the following location...

viewtopic.php?f=9&t=16626&p=134249#p134249


Thanks,
Ken.


Top
   
PostPosted: Thu May 27, 2010 11:58 am 
Offline
Newbie

Joined: Sat Jan 07, 2006 7:08 pm
Posts: 25
Location: United States of America
Did you read the following which describes briefly how I solved the problem?...


[url]viewtopic.php?f=9&t=16626&p=134249#p134249[/url]


Basically it appeared that although /dev/hda1 would mount ok under the 2.4 kernel it was not compatible with the 2.6 kernel. To fix the problem I installed foonas-em and used mke2fs to recreate the file system (that was ok for me since I was going to untar the lenny distro on the file system anyway). After that I changed the network settings to be suitable for my home network and rebooted and all was OK for me.


Ken.


Top
   
PostPosted: Thu May 27, 2010 12:10 pm 
Offline
Newbie

Joined: Sat Jan 07, 2006 7:08 pm
Posts: 25
Location: United States of America
To add to my previous post... The sequence I used to fix is as follows...


1. Install foonas-em (I already had uboot installed). There are some articles somewhere on nas-central.org that describe how to do this.

2. Boot into foonas-em and try to mount the /dev/hda1 file system. If you have the same issue I faced then it will not mount and will report an error ("invalid argument" or similar).


Assuming that you see that error then you could try what I did to fix...


1. use mke2fs to recreate the file system on /dev/hda1

2. Untar the lenny distro on /dev/hda1

3. Edit as necessary (for me I just had to modify some network settings)

4. reboot


Thats it. Good luck!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited