Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 17, 2017 6:33 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 17 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sun Apr 20, 2008 3:10 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
Hiya troops,

wonder if someone can help me out. iv been trying for WEEKS to try and re-install my KBP with freelink. iv tried auto and manual installs but no joy. im currently working on a manual install using this doco http://buffalo.nas-central.org/index.php/FreeLink_for_the_Kurobox_Pro_-_Manual_install
iv repartition the 250 gig drive like this.

Disk /dev/sda: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 12159 97667136 83 Linux
/dev/sda2 12160 12525 2939895 83 Linux
/dev/sda4 12526 30401 143588970 f Win95 Ext'd (LBA)
/dev/sda5 12526 12562 297171 82 Linux swap
/dev/sda6 12563 30401 143291736 83 Linux

but this is what happens

~ # cd /mnt/mtd
/mnt/mtd # mount /dev/sda1 /mnt/disk1
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
/mnt/mtd # mv hddrootfs.tar.gz /mnt/disk1
mv: Write Error: No space left on device
/mnt/mtd #

can anyone help me out?

regards

DN :)


Top
   
PostPosted: Sun Apr 20, 2008 3:35 am 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
Interesting partition scheme. Different I think than either the one the KuroBox sets itself up with or the one I had in the article. No matter the instructions could be adjusted to fit. I'm sure you made a file system on /dev/sda1 don't know why it would act full. Can you do a
Code:
df
after you mount it and see what it looks like?

oh.... also I'll stick around the IRC for a few hours if you want to drop by

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Sun Apr 20, 2008 5:12 pm 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
Apparently my instructions were confusing to more than just one person.

viewtopic.php?f=51&t=6881#p61231

I tried my best to fix them up after talking to you on the IRC.
http://buffalo.nas-central.org/index.ph ... al_install
My scheme uses 3 partitions rather than the 5/6 that the automatic install process uses.

mmclough details a method in the forum for using the 5/6 partiton scheme that the automatic installer generates. Of course that would require using the same old uboot settings that the automatic installer generates too....

viewtopic.php?f=51&t=6881#p61366

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Apr 21, 2008 12:44 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
thank you for your help as always :)

iv tried doing the automatic install as detailed on this doco (FreeLink (Debian) -> http://kurobox.com/mwiki/index.php/Kuro ... 8Debian.29

i did a low level format using killdisk of the 250gb sata drive and it seems to work for a short time. but then the lights stop flashing and its just sits there. i first thought that i just didn’t give it enough time but i left it for about 2 hours one day. then i reboot and it looks ok for a short time but half way through the boot it stats to show a repeating error msg (sorry i haven’t got the msg right now) and then i have to shut down and redo the uboot to boot from flash.

im currently trying the manual method but i think i must of missed something as it failed again.

but ill soldeir on.

rgds
DN


Top
   
PostPosted: Mon Apr 21, 2008 4:50 pm 
Offline
Newbie

Joined: Mon Apr 14, 2008 10:52 pm
Posts: 9
Code:
/mnt/mtd # mount /dev/sda1 /mnt/disk1

If you're using the 6 partition scheme as detailed in the automatic install, sda1 is used for the boot partition and only has 16MB of space. You should probably move the hddrootfs to a partition with enough space, mount the appropriate partitions and then untar the filesystem.


Top
   
PostPosted: Mon Apr 21, 2008 7:31 pm 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
soundwave wrote:
If you're using the 6 partition scheme as detailed in the automatic install, sda1 is used for the boot partition and only has 16MB of space.


Yes exactly! here is the difference (well technically it's 5 partitions, but they are numbered 1,2,4,5,6)

Code:
            Automatic                           Modified Manual
         -----------------------------       -------------------------------------   
Boot     /dev/sda1 (16MB)                    /dev/sda1  (10GB)  in  /boot
Rootfs   /dev/sda2 (3GB)                     /dev/sda1  (10GB)
         /dev/sda4 (container)               
Swap     /dev/sda5 (128MB)                   /dev/sda2  (512MB)
Share    /dev/sda6 (Remainder)               /dev/sda3  (Remainder)



so that when I use fdisk on this and do a "p" to show the partitions I get

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10241406 83 Linux
/dev/sda2 1276 1340 522112+ 82 Linux swap / Solaris
/dev/sda3 1341 38913 301805122+ 83 Linux

still looking at the number of cylinders used for sda1 in his scheme he should have had enough space.

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Apr 28, 2008 1:03 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
I want to try and get the automatic install to work. however it takes about an hour and a half to wipe the bloody hdd :( not to mention having to unscrew things and switch off pc's n stuff very time consuming and annoying :(

is there anyway to completely wipe the HDD while in EM mode?


Top
   
PostPosted: Mon Apr 28, 2008 1:42 am 
Offline
Newbie

Joined: Mon Apr 14, 2008 10:52 pm
Posts: 9
I don't think you need to wipe the hdd completely, just delete all partition and the zero the first 1M.
Code:
dd if=/dev/zero of=/dev/sda bs=1M count=1

I don't remember where I got this from, it was from a Japanese site.


Top
   
PostPosted: Mon Apr 28, 2008 1:59 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
any idea what this is? i tried your way to install and this is what happened.

i followed your steps in this doc >http://buffalo.nas-central.org/index.php/FreeLink_for_the_Kurobox_Pro_-_Manual_install

i did this to the letter ecept for this step
Device Partition Type Size fdisk Command
/dev/sda1 Linux [83] 10 GB n -> p -> 1 -> <enter> -> +10000M
->>> this didnt work/dev/sda2 Linux Swap [82] 512 MB n -> l -> <enter> -> +512M -> t -> 5 -> 82
/dev/sda3 Linux [83] Remainder n -> l -> <enter> -> <enter>

when i changed the uboot settings and rebooted this is the result.

swapon: cannot stat /dev/sda5: No such file or directory
failed!
Setting the system clock again..
System Clock set. Local time: Sat Nov 17 01:23:28 UTC 2007.
Cleaning up ifupdown....
Loading device-mapper supportdevice-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
.
Will now check all file systems.
fsck 1.40-WIP (14-Nov-2006)
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -y -C0 /dev/sda1
e2fsck 1.40-WIP (14-Nov-2006)
/dev/sda1 is mounted. e2fsck: Cannot continue, aborting.


fsck died with exit status 8
* File system check failed.
A log is being saved in /var/log/fsck/checkfs if that location is writable.
Please repair the file system manually.
* A maintenance shell will now be started.
CONTROL-D will terminate this shell and resume system boot.
Give root password for maintenance
(or type Control-D to continue):


Top
   
PostPosted: Mon Apr 28, 2008 2:10 am 
Offline
Moderator
User avatar

Joined: Thu Apr 06, 2006 1:33 pm
Posts: 1082
Location: United States of America
so it worked. You should be able to continue the booting sequence with CTL-D (from the serial console) you will have to ssh in (over a network connection) to login as root and fix /etc/fstab and enable root access from the serial console if you so desire.

_________________
-Ramuk

LinkStation HG *250 Uboot - Foonas-EM - Freelink
Kuro HG *750 Uboot - Foonas-EM - Debian Squeeze
Kuro HD *60 Uboot - Foonas-EM - Debian Squeeze (For Sale)
KuroPro *2TB Debian Lenny Armel- Kernel 2.6.26
KuroPro *1TB Debian Lenny Armel- Kernel 2.6.25.6


Top
   
PostPosted: Mon Apr 28, 2008 5:37 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
Ramuk here is what i have now


Disk /dev/sda: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1217 9775521 83 Linux
/dev/sda2 1218 1280 506047+ 82 Linux swap
/dev/sda3 1281 30401 233914432+ 83 Linux


Top
   
PostPosted: Mon Apr 28, 2008 6:17 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
baudrate=115200
loads_echo=0
cpuName=926
CASset=min
MALLOC_len=4
ethact=egiga0
ethaddr=00:16:01:A4:D6:EF
uimage_black=0
uimage_offset=0x00020000
uImage=/dev/mtdblock1 (0x00020000~0x00400000)
bootcmd=ide=reset
bootargs_end=:::DB88FXX81:eth0:none
buffalo_ver=BOOTVER=1.091
build_time=18:10:02
initrd=initrd.buffalo
kernel=uImage.buffalo
nand_uImage_offset=20000
def_tftp=tftp $(default_kernel_addr) $(kernel); tftp $(default_initrd_addr) $(initrd); setenv bootargs $(bootargs_base) $(bootargs_root) rw initrd=0x02000040,20M panic=5 $(buffalo_ver); bootm $(default_kernel_addr) $(default_initrd_addr)
default_initrd_addr=0x02000000
serverip=192.168.11.100
ipaddr=192.168.11.150
nand_boot=no
default_kernel_addr=0x00100000
bootargs_base=console=ttyS0,115200
bootargs_root=root=/dev/mtdblock2 rw
uImage_block=0
uImage_offset=0x00020000
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
usb1Mode=host
bootcmd=ide reset;ext2load ide 0:1 0x00100000 /boot/uImage;setenv bootargs console=ttyS0,115200 root=/dev/sda1 rw; bootm 0x00100000
filesize=0
bootargs=console=ttyS0,115200 root=/dev/sda1 rw

Environment size: 1194/4092 bytes


Top
   
PostPosted: Mon Apr 28, 2008 6:21 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
Marvell>> boot

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0: OK
Model: WDC WD2500JS-55NCB1 Firm: 10.02E01 Ser#: WD-WMANK2567659
Type: Hard Disk
Supports 48-bit addressing
Capacity: 238474.1 MB = 232.8 GB (488395055 x 512)

Using device ide0, partition 1

Loading from block device ide device 0, partition 1: Name: hda1
Type: U-Boot File:/boot/uImage

0 bytes read
<<stop_sound>>
## Booting image at 00100000 ...
Bad Magic Number
bootm fail.
<<system_not_found>>
Using egiga0 device
TFTP from server 192.168.11.100; our IP address is 192.168.11.150
Filename 'uImage.buffalo'.
Load address: 0x100000
Loading: T T
Retry count exceeded; starting again


Top
   
PostPosted: Mon Apr 28, 2008 6:33 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtd2 65536 32868 32668 50% /
/dev/ram1 8192 144 8048 2% /mnt/ram
/dev/mtd3 192512 4564 187948 2% /mnt/mtd


Top
   
PostPosted: Mon Apr 28, 2008 7:09 am 
Offline
Newbie

Joined: Thu Aug 23, 2007 5:50 am
Posts: 17
/mnt/disk1/boot # ls
2.6.16.57-arm5_oabi_modules.tgz mnt
bin proc
boot root
buffalo sbin
dev sys
etc tmp
hddrootfs.tar.gz uImage
home uImage-2.6.16.57-arm5_oabi
initrd usr
lib var
lost+found


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 17 posts ]  Go to page 1 2 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


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:
Powered by phpBB® Forum Software © phpBB Limited