DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-25 00:57:45

wasaab
New member
Registered: 2008-08-22
Posts: 4

Need help installing Debian

I have tried the methods on the forum and also on the wiki to no avail.  I can not install debian.  I successfully installed Gentoo but I do not like it I am more familiar with debian.  I can not locate the slind-installer file the link is dead.  And on the wiki debootstrap does nothing.  Please help.  Thanks!

Dave

Offline

 

#2 2008-08-25 15:41:54

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Need help installing Debian

If you follow debootstrap instructions correctly, then it should not degfault. As these changes show (http://dns323.kood.org/dsmg600/howto:ch … mp;do=diff) you must run debootstrap with custom sh from busybox replace tools package, which is also available from wiki page.


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2008-08-25 16:34:08

wasaab
New member
Registered: 2008-08-22
Posts: 4

Re: Need help installing Debian

Thanks for your reply sala.  I did run it with busybox package with tools and then issued the command in the instructions to point to it export PATH=/mnt/HD_a2/bin:/mnt/HD_a2/sbin:$PATH'' .  Am I doing it wrong?  I just extracted that busy box to the root of my drive and have a bin and sbin folder.  Also how is it possible to boot directly to gentoo or debian afterwards besides issuing the chroot command in telnet?  I did not flash it with your custom firmware because I do not have a serial hookup in case things go sour.  Basically, what I am trying to do is run a better ftp server that the standard wu-ftp that came with it.  I need to have users connect to the box via ftp but have read only permissions to those files and have an upload directory.  I can not do this with dlinks crummy web interface.  If there is an easier way of doing what I am trying to do. I am open to suggestions.  Thank you very much for your help and input!

Dave

Offline

 

#4 2008-08-26 14:26:38

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Need help installing Debian

There is not definitely easier way to to it. chroot is easiest. But the best way is probably booting directly to gentoo, but you'll need to build custom kernel first. Second best it using loader.o to boot custom kernel. If you are only interested better ftp server, then you can just crosscompile it and run it from /mnt/HD_a2 without chrooting.

About bootstraping, I did mean this command, not exporting. /mnt/HD_a2/bin/sh should fix segfaulting if changes to wiki is correct.

Code:

/mnt/HD_a2/bin/sh ./usr/sbin/debootstrap --arch powerpc sid /mnt/HD_a2/debian http://ftp.nl.debian.org/debian

• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#5 2008-08-31 22:38:34

pim
Member
Registered: 2008-07-27
Posts: 28

Re: Need help installing Debian

It gives an error on that line: FATAL: Kernel to old; anybody seen that before?

Offline

 

#6 2008-09-01 09:35:57

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Need help installing Debian

Try to google. Maybe older version of debian will install correctly or maybe there is some other workaround.


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#7 2008-09-04 09:11:27

ehorher
Member
From: Panama
Registered: 2008-09-04
Posts: 14

Re: Need help installing Debian

Hi there,

I have exactly same problem, see:
mnt/HD_a2/debian# /mnt/HD_a2/bin/sh ./usr/sbin/debootstrap --arch powerpc sid / http://ftp.nl.debian.org/debian
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: lzma
I: Found additional base dependencies: libept0 libxapian15
I: Checking component main on http://ftp.nl.debian.org/debian...
I: Retrieving adduser
...................................
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting util-linux...
I: Extracting zlib1g...
W: Failure trying to run: chroot /mnt/HD_a2/debian mount -t proc proc /proc
FATAL: kernel too old
W: Failure trying to run: chroot /mnt/HD_a2/debian /sbin/ldconfig
I: Installing core packages...
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --install var/cache/apt/archives/base-files_4.0.5_powerpc.db
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --install var/cache/apt/archives/dpkg_1.14.21_powerpc.deb
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --install var/cache/apt/archives/libc6_2.7-13_powerpc.deb
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --install var/cache/apt/archives/perl-base_5.10.0-13_powerpb
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --install var/cache/apt/archives/mawk_1.3.3-12_powerpc.deb
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --install var/cache/apt/archives/debconf_1.5.23_all.deb
I: Unpacking required packages...
W: Failure while unpacking required packages.  This will be attempted up to five times.
W: Failure while unpacking required packages.  This will be attempted up to five times.
W: Failure while unpacking required packages.  This will be attempted up to five times.
W: Failure while unpacking required packages.  This will be attempted up to five times.
W: Failure while unpacking required packages.  This will be attempted up to five times.
I: Configuring required packages...
W: Failure while configuring required packages.
I: Unpacking the base system...
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: Failure while installing base packages.  This will be re-attempted up to five times.
W: Failure while installing base packages.  This will be re-attempted up to five times.
I: Configuring the base system...
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
W: Failure while configuring base packages.
I: Base system installed successfully.
#

Also I tried to chroot manually, same result.......

Any idea.....?

Thxs !

Offline

 

#8 2008-09-04 12:24:52

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Need help installing Debian

@ehorher, why are you not trying other versions? sid is unstable and most up to date version of debian. Try lenny (testing) or etch (stable). Change sid in debootstrap command to lenny or etch


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#9 2008-09-04 21:44:48

ehorher
Member
From: Panama
Registered: 2008-09-04
Posts: 14

Re: Need help installing Debian

Hi sala !

I used etch and voila ! working fine....
Have some minors details at the time to run apt-get update and install locates (seem like can΄t contact http://ftp.nl.debian.org) but after few tries was OK...

Now, next step: how I can install sftp .....?

Offline

 

#10 2008-09-04 22:03:07

pim
Member
Registered: 2008-07-27
Posts: 28

Re: Need help installing Debian

Hi all; i tried the etch and the lenny as well, but no it gives a

Code:

I: Installing core packages...
W: Failure trying to run: chroot /mnt/HD_a2/debian dpkg --force-depends --instal l var/cache/apt/archives/base-files_3.1.2_powerpc.deb var/cache/apt/archives/bas e-passwd_3.5.9_powerpc.deb

... error.

Offline

 

#11 2008-09-04 22:40:14

pim
Member
Registered: 2008-07-27
Posts: 28

Re: Need help installing Debian

AHA! I deleted the debian dir, now the error doesn't show anymore. Let continue!

Offline

 

#12 2008-09-16 18:22:55

pim
Member
Registered: 2008-07-27
Posts: 28

Re: Need help installing Debian

Well, i got it running, but deleted it again.

I want to use Deluge, and that does not work on the Etch powerpc. Therefore, back to trying to install sid, so i have to face the Kernal too old error.

Anybody figure that one out allready? Could it be the busybox that is to old? And, if so, how do i get a newer busybox with debootstrap?

Offline

 

#13 2008-09-17 21:11:35

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Need help installing Debian

I am not even sure you can ever run deluge in plain console mode without X. As far as I understand it depends on PyGTK, GTK+, X and so on.


• DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
• NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB