Re: [DNG] Devuan migrate and install

2016-06-17 Thread KatolaZ
On Fri, Jun 17, 2016 at 06:13:59PM +0200, richard lucassen wrote:

[cut]

> 
> Anyway, Debian has such an option and I think it would be very valuable
> if such an initrd.gz/vmlinuz would be available from the Devuan
> mirrors. This will make Devuan being available through many PXE boot
> servers accross the planet.
> 
> That said, I think it should be part of the Devuan distribution. Each
> time a new version sees the light, the appropiate vmliz/initrd.gz pairs
> should be generated for each available cpu.
>

I believe that having a netboot option in Devuan is very important,
and it would not require much effort, indeed. In the past I have used
PXE boot many times to install Debian on headless servers (I still
have dhcp and tftp configured for that in my laptop), and it always
worked like a charm. We definitely ought have that option, despite
real metal servers will unavoidably become an even smaller minority in
the server landscape :)

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-17 Thread richard lucassen
On Thu, 16 Jun 2016 12:12:07 -0400
aitor_czr  wrote:

[snip]

> 6) Clean the content generated by the failed attempt and try again:
> 
> apt-get autoremove
> make build_cdrom_isolinux
> 
> The initrd.gz and the vmlinuz will be generated in the dest folder :)

Ok, but will that initrd/vmlinuz ask for a cd or will it ask for a URL
where the installer packages can be found? Or is the trick done by the
--method=http?

Anyway, Debian has such an option and I think it would be very valuable
if such an initrd.gz/vmlinuz would be available from the Devuan
mirrors. This will make Devuan being available through many PXE boot
servers accross the planet.

That said, I think it should be part of the Devuan distribution. Each
time a new version sees the light, the appropiate vmliz/initrd.gz pairs
should be generated for each available cpu.

Try it yourself and see how it works when you start one of these kernels:

amd64:

wget -N 
http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz

wget -N 
http://ftp.debian.org/debian/dists/jessie/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux

i386:

wget -N 
http://ftp.debian.org/debian/dists/jessie/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz

wget -N 
http://ftp.debian.org/debian/dists/jessie/main/installer-i386/current/images/netboot/debian-installer/i386/linux

No need for cd's, no need for USB sticks, just a network connection.

R.

-- 
richard lucassen
http://contact.xaq.nl/
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-16 Thread aitor_czr


On 06/16/2016 06:12 AM, aitor_czr  wrote:

6) Clean the content generated by the failed attempt and try again:

apt-get autoremove
make build_cdrom_isolinux

The initrd.gz and the vmlinuz will be generated in the dest folder:)

HTH,

Aitor.


I rectify:

*make reallyclean*

instead of apt-get autoremove !!!

  Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-16 Thread aitor_czr


Hi Richard,

On 06/14/2016 04:21 PM, richard lucassen  wrote:
I run a PXE server. For Debian I can download an "initrd.gz" and a 
"vmlinuz" to start a net install. Each version has its own 
vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy, 
this works like a charm. Has this been realized for Devuan yet? And if 
yes, does someone have a URL pointing to these two files?


It depends on your purposes. For example, an initrd.gz taken from a 
netinst image will not be valid for a live system, because it doesn't 
contain the live-install udeb package, which is essential for a live image.


But you can build your own initrd.gz and vmlinuz building debian-installer:

*HOW TO BUILD DEVUAN-INSTALLER*

1) Download the sources:

apt-get source debian-installer

2) Check the build dependencies and install them:

cd debian-installer-201507023+devuan.alpha4
dpkg-checkbuilddeps
apt-get install ... bla bla bla ...

3) Download the udeb packages using debmirror:

debmirror -h ftp.es.mirror.devuan.org \
  --dist=jessie \
  --root=/merged \
  --di-arch=i386,amd64,armhf \
  --section=main/debian-installer \
  --nosource \
  --progress \
  --ignore-release-gpg \
  --method http \
  --diff=none \
  /home/richard/localudebs

4) Customize your *.udeb pcakages, if you want. For example rootskel-gtk.

5) Copy all the *.udeb packages to 
debian-installer-201507023+devuan.alpha4/localudebs and build d-i:


cd build
make build_cdrom_isolinux

The first attempt allways fails. No worries :)

Copy the content of the sources.list.udeb -generated automatically 
during the failed attempt- into a new file named sources.list.udeb.local

In my case, the content of this file is:

# This file is automatically generated, edit sources.list.udeb.local 
instead.
deb [trusted=yes] 
copy:/home/aitor/d-i/debian-installer-201507023+devuan.alpha4/build/ 
localudebs/

deb http://packages.devuan.org/merged jessie main/debian-installer

6) Clean the content generated by the failed attempt and try again:

apt-get autoremove
make build_cdrom_isolinux

The initrd.gz and the vmlinuz will be generated in the dest folder :)

HTH,

  Aitor.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-14 Thread richard lucassen
On Tue, 14 Jun 2016 22:12:21 +0200
Florian Zieboll  wrote:

[--8<-- snip sources.list --8<--]

> You might want to choose another mirror, or the redirector:
> auto.mirror.devuan.org

Yep, I think that might be better

> Depending on your configuration and personal preferences, some ideas
> for your /etc/apt/preferences - AFAIK, if you have only devuan/merged
> repos in your sources.list, you don't need to assign the "-1" pin to 
> systemd-sysv:
> 
> Package: libsystemd0
> Pin: release o=*
> Pin-Priority: -1

For the moment libsystemd is still in use AFAIK

> > 2) I run a PXE server. For Debian I can download an "initrd.gz" and
> > a "vmlinuz" to start a net install. Each version has its own
> > vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy,
> > this works like a charm. Has this been realized for Devuan yet? And
> > if yes, does someone have a URL pointing to these two files?
> 
> I am not 100% sure, but I think you can use initrd and vmliuz
> straight from the netboot iso:
> 
> $ mount -o loop -t iso9660 /path/to/iso /mountpoint
> 
> Please correct me if I'm wrong^^

I already tried that of course :-) But this initrd/vmlinuz will ask you
to mount the cd. Of course I can try to use nextserver or something
like that, but I like the Debian option to use a real network
installer. It will simply ask for the repository to use. 

R.

-- 
richard lucassen
http://contact.xaq.nl/
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-14 Thread Florian Zieboll
On Tue, 14 Jun 2016 21:27:00 +0200
richard lucassen  wrote:

> 1) IIRC there used to be a "sources.list" somewhere to migrate from
> Debian Jessie to Devuan Jessie. Does someone have a URL?

I had thought that it's part of the devuan-baseconf package, but
apparently it's not. So here my sources.list:

--snip--
deb http://de.mirror.devuan.org/merged/ jessie main contrib non-free
deb-src http://de.mirror.devuan.org/merged/ jessie main contrib non-free

deb http://de.mirror.devuan.org/merged/ jessie-updates main contrib
non-free deb-src http://de.mirror.devuan.org/merged/ jessie-updates main 
contrib non-free

deb http://de.mirror.devuan.org/merged/ jessie-backports main contrib
non-free deb-src http://de.mirror.devuan.org/merged/ jessie-backports main 
contrib non-free

deb http://de.mirror.devuan.org/merged/ jessie-security main contrib
non-free deb-src http://de.mirror.devuan.org/merged/ jessie-security main 
contrib non-free 
--snap--

You might want to choose another mirror, or the redirector:
auto.mirror.devuan.org

Depending on your configuration and personal preferences, some ideas
for your /etc/apt/preferences - AFAIK, if you have only devuan/merged
repos in your sources.list, you don't need to assign the "-1" pin to 
systemd-sysv:

Package: libsystemd0
Pin: release o=*
Pin-Priority: -1

Package: systemd
Pin: release o=*
Pin-Priority: -1

Package: systemd-sysv
Pin: release o=*
Pin-Priority: -1

Package: *
Pin: release a=jessie-backports
Pin-Priority: 150


> 2) I run a PXE server. For Debian I can download an "initrd.gz" and a
> "vmlinuz" to start a net install. Each version has its own
> vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy,
> this works like a charm. Has this been realized for Devuan yet? And
> if yes, does someone have a URL pointing to these two files?

I am not 100% sure, but I think you can use initrd and vmliuz straight 
from the netboot iso:

$ mount -o loop -t iso9660 /path/to/iso /mountpoint

Please correct me if I'm wrong^^

libre Grüße,

Florian


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-14 Thread richard lucassen
On Tue, 14 Jun 2016 16:00:10 -0400
etech3  wrote:

Ok, thnx!

> Here's what I have so far:
> 
> most from the 64 bit install. added non-free and contrib so far so
> good
> 
> # deb http://us.mirror.devuan.org/merged/ jessie main
> 
> deb http://us.mirror.devuan.org/merged/ jessie main non-free contrib
> deb-src http://us.mirror.devuan.org/merged/ jessie main non-free
> contrib
> 
> # jessie-security, previously known as 'volatile'
> deb http://us.mirror.devuan.org/merged/ jessie-security main contrib 
> non-free
> deb-src http://us.mirror.devuan.org/merged/ jessie-security main
> contrib non-free
> 
> # jessie-updates, previously known as 'volatile'
> deb http://us.mirror.devuan.org/merged/ jessie-updates main contrib
> non-free deb-src http://us.mirror.devuan.org/merged/ jessie-updates
> main contrib non-free
> 
> # jessie-backports, previously on backports.debian.org
> deb http://us.mirror.devuan.org/merged/ jessie-backports main contrib 
> non-free
> deb-src http://us.mirror.devuan.org/merged/ jessie-backports main 
> contrib non-free
> 
> 
> On 06/14/2016 03:27 PM, richard lucassen wrote:
> > 1) IIRC there used to be a "sources.list" somewhere to migrate from
> > Debian Jessie to Devuan Jessie. Does someone have a URL?
> >
> > 2) I run a PXE server. For Debian I can download an "initrd.gz" and
> > a "vmlinuz" to start a net install. Each version has its own
> > vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy,
> > this works like a charm. Has this been realized for Devuan yet? And
> > if yes, does someone have a URL pointing to these two files?
> >
> > R.
> >
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


-- 
richard lucassen
http://contact.xaq.nl/
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Devuan migrate and install

2016-06-14 Thread etech3

Here's what I have so far:

most from the 64 bit install. added non-free and contrib so far so good

# deb http://us.mirror.devuan.org/merged/ jessie main

deb http://us.mirror.devuan.org/merged/ jessie main non-free contrib
deb-src http://us.mirror.devuan.org/merged/ jessie main non-free contrib

# jessie-security, previously known as 'volatile'
deb http://us.mirror.devuan.org/merged/ jessie-security main contrib 
non-free
deb-src http://us.mirror.devuan.org/merged/ jessie-security main contrib 
non-free


# jessie-updates, previously known as 'volatile'
deb http://us.mirror.devuan.org/merged/ jessie-updates main contrib non-free
deb-src http://us.mirror.devuan.org/merged/ jessie-updates main contrib 
non-free


# jessie-backports, previously on backports.debian.org
deb http://us.mirror.devuan.org/merged/ jessie-backports main contrib 
non-free
deb-src http://us.mirror.devuan.org/merged/ jessie-backports main 
contrib non-free



On 06/14/2016 03:27 PM, richard lucassen wrote:

1) IIRC there used to be a "sources.list" somewhere to migrate from
Debian Jessie to Devuan Jessie. Does someone have a URL?

2) I run a PXE server. For Debian I can download an "initrd.gz" and a
"vmlinuz" to start a net install. Each version has its own
vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy, this
works like a charm. Has this been realized for Devuan yet? And if yes,
does someone have a URL pointing to these two files?

R.



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng