Installing Squeeze via netboot, no sources.lists

Help with issues regarding installation of Debian

Installing Squeeze via netboot, no sources.lists

Postby mirlipili » 2018-06-16 08:43

Hello,

I'm trying to install Debian on an old NAS ( intel ss4000-e).
The install must be made via a serial cable, and the last functioning debian-installer is the squeeze version (wheezy is also available, but the installer doesn't start).

Now my problem is that I need to edit the sources.lists to change the mirrors to archive.debian.
I have access to a shell, but there is no 'apt' folder and no sources.lists I can find.

Where does the squeeze installer look for these infos?

Thanks
mirlipili
 
Posts: 5
Joined: 2018-06-16 08:09

Re: Installing Squeeze via netboot, no sources.lists

Postby peter_irich » 2018-06-16 14:10

Try enter on http://ftp.debian.org/debian/ and to pay attention on "Old Releases".

Peter.
peter_irich
 
Posts: 1233
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: Installing Squeeze via netboot, no sources.lists

Postby stevepusser » 2018-06-16 16:45

The folder on an installed version is "/etc/apt", not "/apt".
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10143
Joined: 2009-10-06 05:53

Re: Installing Squeeze via netboot, no sources.lists

Postby mirlipili » 2018-06-16 18:34

Sorry for the misunderstanding, I'm not a native speaker, but there is no apt folder in /etc/.

I looked in all the folders, one way to get a bit further is to edit the file /etc/udebs-source from squeeze to wheezy, than it warns me that there might be a kernel problem, downloads a few file and then the installer stops ( or at least I have a blank screen).

Here is a 'ls' of /etc/:

Code: Select all
~ # ls
bin     etc     initrd  media   proc    sbin    tmp     var
dev     init    lib     mnt     root    sys     usr
~ # ls etc/
SUPPORTED-short  hosts            mtab             rcS.d
cdebconf.conf    hotplug.d        network          resolv.conf
default-release  inittab          nsswitch.conf    shortlists
fstab            lsb-release      passwd           udebs-source
group            modprobe.d       preseed_aliases  udev
hostname         modules.conf     profile


Another message I get before entering the shell is this:

Code: Select all
After this message, you will be running "ash", a Bourne-shell clone.  x
   x                                                                       x
   x The root file system is a RAM disk. The hard disk file systems are    x
   x mounted on "/target". The editor available to you is nano. It's very  x
   x small and easy to figure out. To get an idea of what Unix utilities   x
   x are available to you, use the "help" command.                         x
   x                                                                       x
   x Use the "exit" command to return to the installation menu.


I thought it meant I would have a /target folder where I could maybe find /etc/apt, but there is nothing (not in /mnt or in /media either)
mirlipili
 
Posts: 5
Joined: 2018-06-16 08:09

Re: Installing Squeeze via netboot, no sources.lists

Postby mirlipili » 2018-06-16 19:00

I should probably also post more info on how I'm trying to install Debian, I don't think it's the usual way.
I'm following this (https://www.debian.org/releases/wheezy/armel/ch05s01.html.en#boot-firmware) tutorial to start the installer.

After some problems with the serial connection, I had problems because I was trying with the wheezy installer and the installer wouldn't start.

I found an old blog post that suggested using the squeeze installer ,which I did and then the install started.
I am stuck now because squeeze isn't in the normal repository anymore, and I don't know where I could tell the installer to look for another repository.

The installer I'm using is here: http://archive.debian.org/debian/dists/squeeze/main/installer-armel/current/images/iop32x/netboot/ss4000e/

Is there maybe a way to edit the initrd.gz to change the (probably) hardcoded mirrors? Or to add my own?

Thanks
mirlipili
 
Posts: 5
Joined: 2018-06-16 08:09

Re: Installing Squeeze via netboot, no sources.lists

Postby mirlipili » 2018-06-16 19:10

I extracted initrd.gz, and found the choose-mirror executable in the bin folder.
When I open it with kate, I can find the mirrors in plain text between the rest. Is it possible to modify it? Could I find the sources somewhere and recompile it? Or is this going to be too much trouble for an old Nas i bought for next to nothing?
mirlipili
 
Posts: 5
Joined: 2018-06-16 08:09

Re: Installing Squeeze via netboot, no sources.lists

Postby mirlipili » 2018-06-18 09:10

I'm stupid, instead of choosing a country, the first option is to enter a repository manually. But as the installer automatically chooses a mirror in my country, I was at the end of the list, and didn't think to scroll trough all the options.
Now to install a RAID 10...
mirlipili
 
Posts: 5
Joined: 2018-06-16 08:09


Return to Installation

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable