Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Steve McIntyre
On Wed, Jul 20, 2011 at 08:35:03PM +0300, Alexey Eromenko wrote:
>OK, thanks !
>
>First part works !
>$ make status
>
>Next part fails:
>$ make official_images
>...
>...
>---
>Done: processed/sorted 28266 packages, total size 33153275974 bytes.
>/usr/bin/genisoimage -version says:
>genisoimage 1.1.11 (Linux)
>
>Reading in package information for amd64:
>  Done: Read details of 28266 packages for amd64
>Starting to lay out packages into images:
>  Adding the required directories
>  Generating the image label and volume id
>  Adding .disk/base_components
>  Adding .disk/cd_type
>  Adding udeb/base includes/excludes
>WARNING: Unable to read UDEB_EXCLUDE file
>/home/user/Linstall/debian-cd-trunk/data/squeeze/amd64_udeb_exclude
>  Adding docs to CD1
>  Adding installtools
>  Adding common docs on CD1
>  Adding Release files
>  Trying to add upgrade* directories
>  (Optionally) making the image bootable for amd64:
>Running tools/boot/squeeze/boot-amd64 1 /vm/tmp/squeeze/CD1
>cp: cannot stat
>`/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/debian-cd_info.tar.gz':
>No such file or directory
>  FAILED: error 1
>Failed to start disc 1, error 256
>make: *** [image-trees] Error 9
>
>--
>I looked into _all_ files in my repo, and found no
>'debian-cd_info.tar.gz'. I also checked in official Debian 6.0 DVD1
>for AMD64 arch, and it lacks there as well.
>(This question probably not directly related to "debian-cd", but I
>still need help)
>
>Any ideas ?
>What is it ? (Googling didn't help)
>Where to get it / how-to create it ?

OK. The debian-cd_info.tar.gz file is provided by the debian-installer
people, and contains all the bits of config that debian-cd needs to be
able to generate working bootable media for each platform
(e.g. isolinux config files). We use it from the archive, but it
doesn't go on the CDs/DVDs itself.

Grab the /dists/squeeze/main/installer-amd64/ directory from a local
mirror and put it in place in your working filesystem and that should
work.

Apologies for this not being easy, we normally work from a full mirror
when creating the CD images.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"It's actually quite entertaining to watch ag129 prop his foot up on
 the desk so he can get a better aim."  [ seen in ucam.chat ]


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110721100954.gb5...@einval.com



Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Alexey Eromenko
> OK. The debian-cd_info.tar.gz file is provided by the debian-installer
> people, and contains all the bits of config that debian-cd needs to be
> able to generate working bootable media for each platform
> (e.g. isolinux config files). We use it from the archive, but it
> doesn't go on the CDs/DVDs itself.
>

If the "debian-cd_info.tar.gz" file is not big, could "debian-cd" or
"debian-installer" project provide it in package?

> Grab the /dists/squeeze/main/installer-amd64/ directory from a local
> mirror and put it in place in your working filesystem and that should
> work.

I'm sorry, but I don't understand. On local mirror I don't have it.

I have only "current" there...

user@xrig:~/Linstall/debian-cd-trunk$ ll
/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/
total 4
drwxr-xr-x 3 user user 4096 Jun  4 03:04 current

main/installer-amd64/current (only choice)/images (only choice)/cdrom
(only choice)/

user@xrig:~/Linstall/debian-cd-trunk$ ll
/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/
total 6620
drwxr-xr-x 2 user user4096 Jun  4 03:04 gtk
-rwxrwxrwx 1 user user 4330223 Feb  5 20:15 initrd.gz
-rwxrwxrwx 1 user user  45 Feb  5 20:15 install.bat
-rwxrwxrwx 1 user user 2417312 Feb  5 20:15 vmlinuz

So... where from can I get the file ?

-- 
-Alexey Eromenko "Technologov"


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOJ6w=EWEFo8qRQh58cO5M4=pave_zr7bnmqp4v0bbxhpwb...@mail.gmail.com



Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Steve McIntyre
On Thu, Jul 21, 2011 at 04:29:06PM +0300, Alexey Eromenko wrote:
>> OK. The debian-cd_info.tar.gz file is provided by the debian-installer
>> people, and contains all the bits of config that debian-cd needs to be
>> able to generate working bootable media for each platform
>> (e.g. isolinux config files). We use it from the archive, but it
>> doesn't go on the CDs/DVDs itself.
>
>If the "debian-cd_info.tar.gz" file is not big, could "debian-cd" or
>"debian-installer" project provide it in package?

It changes with the release, and matches the other bits of the
installer (vmlinuz, initrd.gz), so not really...

>> Grab the /dists/squeeze/main/installer-amd64/ directory from a local
>> mirror and put it in place in your working filesystem and that should
>> work.
>
>I'm sorry, but I don't understand. On local mirror I don't have it.
>
>I have only "current" there...
>
>user@xrig:~/Linstall/debian-cd-trunk$ ll
>/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/
>total 4
>drwxr-xr-x 3 user user 4096 Jun  4 03:04 current
>
>main/installer-amd64/current (only choice)/images (only choice)/cdrom
>(only choice)/
>
>user@xrig:~/Linstall/debian-cd-trunk$ ll
>/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/
>total 6620
>drwxr-xr-x 2 user user4096 Jun  4 03:04 gtk
>-rwxrwxrwx 1 user user 4330223 Feb  5 20:15 initrd.gz
>-rwxrwxrwx 1 user user  45 Feb  5 20:15 install.bat
>-rwxrwxrwx 1 user user 2417312 Feb  5 20:15 vmlinuz
>
>So... where from can I get the file ?

It's in the cdrom directory on the mirrors in the cdrom directory, but
debmirror etc. won't pick it up. Look at ftp.uk.d.o:

  
http://ftp.uk.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/

and you'll see it there.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
You lock the door
And throw away the key
There's someone in my head but it's not me 


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110721133544.ge5...@einval.com



Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Alexey Eromenko
On Thu, Jul 21, 2011 at 4:35 PM, Steve McIntyre  wrote:
> On Thu, Jul 21, 2011 at 04:29:06PM +0300, Alexey Eromenko wrote:
>>> OK. The debian-cd_info.tar.gz file is provided by the debian-installer
>>> people, and contains all the bits of config that debian-cd needs to be
>>> able to generate working bootable media for each platform
>>> (e.g. isolinux config files). We use it from the archive, but it
>>> doesn't go on the CDs/DVDs itself.
>>
>>If the "debian-cd_info.tar.gz" file is not big, could "debian-cd" or
>>"debian-installer" project provide it in package?
>
> It changes with the release, and matches the other bits of the
> installer (vmlinuz, initrd.gz), so not really...
>
>>> Grab the /dists/squeeze/main/installer-amd64/ directory from a local
>>> mirror and put it in place in your working filesystem and that should
>>> work.
>>
>>I'm sorry, but I don't understand. On local mirror I don't have it.
>>
>>I have only "current" there...
>>
>>user@xrig:~/Linstall/debian-cd-trunk$ ll
>>/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/
>>total 4
>>drwxr-xr-x 3 user user 4096 Jun  4 03:04 current
>>
>>main/installer-amd64/current (only choice)/images (only choice)/cdrom
>>(only choice)/
>>
>>user@xrig:~/Linstall/debian-cd-trunk$ ll
>>/vm/Debian6-repo/debian-bddl/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/
>>total 6620
>>drwxr-xr-x 2 user user    4096 Jun  4 03:04 gtk
>>-rwxrwxrwx 1 user user 4330223 Feb  5 20:15 initrd.gz
>>-rwxrwxrwx 1 user user      45 Feb  5 20:15 install.bat
>>-rwxrwxrwx 1 user user 2417312 Feb  5 20:15 vmlinuz
>>
>>So... where from can I get the file ?
>
> It's in the cdrom directory on the mirrors in the cdrom directory, but
> debmirror etc. won't pick it up. Look at ftp.uk.d.o:
>
>  http://ftp.uk.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/
>
> and you'll see it there.

Yes, thanks. I have copied "debian-cd_info.tar.gz" into my local mirror.
Then did:
$ make official_images

The iso has generated:
user@xrig:~/Linstall/debian-cd-trunk$ ll
/vm/tmp_debian_cd_test/debian-6.0-amd64-DLBD-1.iso
-rw-r--r-- 1 user user 33378797568 Jul 21 17:22
/vm/tmp_debian_cd_test/debian-6.0-amd64-DLBD-1.iso

33 GB in size, but not bootable. I tried on Qemu and on VBox.

Any ideas why ? (or how-to debug it?)

-- 
-Alexey Eromenko "Technologov"


--
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOJ6w=g_66hbou5wbm1kscmpv5qkelh5joxzsnvzpbkvz9b...@mail.gmail.com



Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Alexey Eromenko
Just compared official DVD-1 to my DLBD-1:

In my DLBD1 I don't have "/install.amd/" (so no bootable kernel)...

Should it be generated ?

-- 
-Alexey Eromenko "Technologov"


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOJ6w=ef3_cmkbsqbfvtwkom_kxjrs11zheswj4uuzlsba4...@mail.gmail.com



Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Steve McIntyre
On Thu, Jul 21, 2011 at 05:43:56PM +0300, Alexey Eromenko wrote:
>On Thu, Jul 21, 2011 at 4:35 PM, Steve McIntyre  wrote:
>>
>> It's in the cdrom directory on the mirrors in the cdrom directory, but
>> debmirror etc. won't pick it up. Look at ftp.uk.d.o:
>>
>>  http://ftp.uk.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/cdrom/
>>
>> and you'll see it there.
>
>Yes, thanks. I have copied "debian-cd_info.tar.gz" into my local mirror.
>Then did:
>$ make official_images
>
>The iso has generated:
>user@xrig:~/Linstall/debian-cd-trunk$ ll
>/vm/tmp_debian_cd_test/debian-6.0-amd64-DLBD-1.iso
>-rw-r--r-- 1 user user 33378797568 Jul 21 17:22
>/vm/tmp_debian_cd_test/debian-6.0-amd64-DLBD-1.iso
>
>33 GB in size, but not bootable. I tried on Qemu and on VBox.
>
>Any ideas why ? (or how-to debug it?)

If you have logs from your build, that would be useful. If you've
managed to get to an ISO I'd expect it to work.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110721145337.gf5...@einval.com



Re: How-to generate Debian Blue-ray from DVDs ?

2011-07-21 Thread Steve McIntyre
On Thu, Jul 21, 2011 at 05:53:38PM +0300, Alexey Eromenko wrote:
>Just compared official DVD-1 to my DLBD-1:
>
>In my DLBD1 I don't have "/install.amd/" (so no bootable kernel)...
>
>Should it be generated ?

Yes, that should be made by debian-cd. That's where the installer
kernel and vmlinuz go.

Ah, I see you're on IRC...

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
We don't need no education.
We don't need no thought control.


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110721150057.gg5...@einval.com



MBR bootable ISO images for GNU/kFreeBSD ?

2011-07-21 Thread Thomas Schmitt
Hi,

on occasion of this thread on debian-bsd list
  http://lists.debian.org/debian-bsd/2011/07/msg00237.html
i would like to ask how much effort it is to make ISO images of
Debian GNU/kFreeBSD bootable from memory stick.


---
What i found out so far:

The images
  
http://cdimage.debian.org/debian-cd/6.0.2.1/kfreebsd-amd64/iso-cd/debian-6.0.2.1-kfreebsd-amd64-netinst.iso
  
http://cdimage.debian.org/cdimage/daily-builds/daily/current/kfreebsd-amd64/iso-cd/debian-testing-kfreebsd-amd64-businesscard.iso
boot by help of GRUB 1.98. They do not bear an MBR.

The same GRUB version was used to make this image bootable from stick:
  
http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-amd64/current/images/netboot/mini.iso
Robert Millan indicated that mini.iso was made by help of GRUB script
grub-mkrescue.

grub-mkrescue creates a "core" boot image file by
  grub-mkimage
This core image gets prepended file
  ${pc_dir}/cdboot.img
to generate the EL-Torito boot image file (for mkisofs option -b).
The same core image becomes an MBR based boot image file (for option -G)
by prepending
  ${pc_dir}/boot.img
So it might be easy to get an MBR boot image file if one can put some
lines of code into the producer of the El-Torito image file.

I installed package debian-cd on squeeze GNU/Linux and see in
  /usr/share/debian-cd/tools/boot/squeeze/boot-kfreebsd
that the El Torito boot image file stems from
  cdrom/debian-cd_info.tar.gz 
The producer of this tarball obviously knows how to create the file
  boot/grub/grub_eltorito
for GRUB 1.98. This file is used with mkisofs option -b.
Yet i did not find the code which produces cdrom/debian-cd_info.tar.gz .

Actually i riddle:
Where does boot/grub/grub_eltorito get produced ?
Is grub-mkimage used there ?


Have a nice day :)

Thomas


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/98236095820971@192.168.2.69