Trying to install offline from a rescue disk

5 réponses [Dernière contribution]
ag2
ag2
Hors ligne
A rejoint: 02/16/2012

Hi,
I am trying to install taranis onto my computer, which has a broken cd drive.

I have access to another very old computer, which can run the debian install cd, so long as I don't try to make it install X. It won't run any trisquel install cd at all, and it has no networking hardware at all, anyway. I have a small hard disk with debian on it, which I can use in the computer I am trying to install on to download packages. Unfortunately, debian has some problems which make it untenable for daily use for me.

I'm wondering--if this plan will work--if I can download all the packages needed to install taranis from zero on a thumb drive, so I can use the rescue mode of the debian install disk to install taranis on the hard disk.

I don't know how to download the package files, and all their dependencies
back to the most basic things, without doing it by hand, or downloading gigabytes of data (I have very limited disk space, and only want to download the stuff I need). Doing a web search only shows ways to do this if I have a working system on the offline computer, or ways that won't download the dependencies if they are already installed on the computer I am using to download them (like creating a download script in synaptic, which probably would get debian's packages instead of trisquel's anyway)

- I don't quite know how I would install all the packages so they don't break, or if there is anything I should look out for, once I have got them on a drive attached to the old computer.

- I don't know if I will be able to get an internet connection by plugging the computer which would have trisquel on it into the router without much trouble, without a desktop enviroment.

Does anyone know anything that might help?

Thank you,

A.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Can't you boot from a USB device (something to check in the BIOS setup)? If you can, can't you create a Live pendrive where you would put the ISO of Trisquel NetInstall (12 MB)? You would then install it on the hard drive, boot on this hard drive, and complete the installation executing some 'sudo apt-get install' (I believe the Ethernet connection would be up right from the NetInstall... although I have never tried it).

ag2
ag2
Hors ligne
A rejoint: 02/16/2012

Hi,
The comnputer I am trying to install on cannot boot from usb--its 10 years old.

ag2
ag2
Hors ligne
A rejoint: 02/16/2012

Hi,
The comnputer I am trying to install on cannot boot from usb--its 10 years
old.

Chris

I am a member!

Hors ligne
A rejoint: 04/23/2011

Ok- if I understand your problem you want to do this:

1. Boot from a CD running debian in live CD mode without X
2. Format the small hard drive and install Trisquel on it
3. Insert this small hard drive into the computer that can't boot from CD or
from USB

I've done this quite a few times. The directions are pretty long although you
can find directions with all the required steps do so for Ubuntu 11.04 and
use them with Trisquel (from formating the drive and setting up swap to
installing grub and the desktop).

You will have to deviate slightly in what you enter as you are install
Trisquel and not Natty (Ubuntu 11.04).

This is off the top of my head and with a quick skim of the directions
although you will need to change at least the following:

# /usr/sbin/debootstrap --arch ARCH natty /mnt/ubuntu

In the above step natty needs to be changed to Dagda (and the ARCH needs to
be i386 in your case)

You will also probably have to adjust the /etc/sources.list file for
Trisquel.

That is replace this:

deb-src http://archive.ubuntu.com/ubuntu natty main

deb http://security.ubuntu.com/ubuntu natty-security main
deb-src http://security.ubuntu.com/ubuntu natty-security main

with:

deb http://archive.trisquel.info/trisquel dagda main
deb-src http://archive.trisquel.info/trisquel dagda main
deb http://archive.trisquel.info/trisquel dagda-updates main
deb-src http://archive.trisquel.info/trisquel dagda-updates main
deb http://archive.trisquel.info/trisquel dagda-security main
deb-src http://archive.trisquel.info/trisquel dagda-security main
deb http://archive.trisquel.info/trisquel dagda-backports main
deb-src http://archive.trisquel.info/trisquel dagda-backports main

I think you can follow the kernel install instructions to find the
appropriate kernel (not positive- didn't verify).

The "sudo tasksel install ubuntu-desktop" step also needs to be changed. I'm
not sure if the trisquel equivalent is trisquel-desktop although if that
package exists it's a safe bet that it is the one you want.

If you do that you should have a fully functioning Trisquel install.

The full instructions you would need to follow are here (with the above
modifications for Trisquel):

https://help.ubuntu.com/11.04/installation-guide/i386/linux-upgrade.html

Use these directions at your own risk. The general directions will probably
work although I make no guarantees.

Chris

I am a member!

Hors ligne
A rejoint: 04/23/2011

WARNING: Use these directions at your own risk. The general directions will probably work although I make no guarantees.

Ok- if I understand your problem you want to do this:

1. Boot from a CD running debian in live CD mode without X
2. Format the small hard drive and install Trisquel on it from a different computer than the one you will use it on where the hard drive is temporarily placed in this other system
3. Then move this small hard drive into the computer that can't boot from CD or from USB

I've done this quite a few times. The directions are pretty long although you can find directions with all the required steps do so for Ubuntu 11.04 and use them with Trisquel (from formating the drive and setting up swap to installing grub and the desktop).

You will have to deviate slightly in what the directions say as you are installing Trisquel and not Natty (Ubuntu 11.04) of course.

This is off the top of my head and with a quick skim of the directions. I haven't verified anything. Here is what you will need to change:

The directions tell you:

# /usr/sbin/debootstrap --arch ARCH natty /mnt/ubuntu

In the above step natty needs to be changed to Dagda (and the ARCH needs to be i386 in your case)

You will also probably have to adjust the /etc/sources.list file for Trisquel as well.

In the part of the directions that have this

deb-src http://archive.ubuntu.com/ubuntu natty main

deb http://security.ubuntu.com/ubuntu natty-security main
deb-src http://security.ubuntu.com/ubuntu natty-security main

Replace it with:

deb http://archive.trisquel.info/trisquel dagda main
deb-src http://archive.trisquel.info/trisquel dagda main
deb http://archive.trisquel.info/trisquel dagda-updates main
deb-src http://archive.trisquel.info/trisquel dagda-updates main
deb http://archive.trisquel.info/trisquel dagda-security main
deb-src http://archive.trisquel.info/trisquel dagda-security main
deb http://archive.trisquel.info/trisquel dagda-backports main
deb-src http://archive.trisquel.info/trisquel dagda-backports main

I think you can follow the kernel install instructions to find the appropriate kernel (not positive- again- I didn't verify anything).

The following step:

sudo tasksel install ubuntu-desktop

Needs to be changed too. I'm not sure if the trisquel equivalent is trisquel-desktop. There is a slight chance it is still ubuntu-desktop in trisquel although I doubt it. Most like it is trisquel-desktop.

If you do that you should have a fully functioning Trisquel install with desktop and all. You don't have to boot it up on the system in which you installed from. Just pop the hard drive into the other system once the installation is complete using the debian CD.

The full instructions you would need to follow are here (with the above modifications for Trisquel):

https://help.ubuntu.com/11.04/installation-guide/i386/linux-upgrade.html

WARNING: Use these directions at your own risk. The general directions will probably work although I make no guarantees.