Copying a bootable cdrom

2001-12-17 Thread Mike R. Cannon

Copying a bootable cdrom.

I have a cdrom that I am trying to copy.  It is a bootable cdrom.  I can
make a copy of it, but I can't boot off of it.  I am assuming that I
need to do something different in the mkisofs command.  I even tried to
to point the iso creation process at /dev/hda, but that did not work
either.

-- 
Mike Cannon
Infrastructure Systems Administrator
Vice President for Information Technology
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Copying a bootable cdrom

2001-12-17 Thread Mike R. Cannon

Carsten Neumann wrote:
 
 On Mon, 17 Dec 2001, Mike R. Cannon wrote:
  Copying a bootable cdrom.
 
  I have a cdrom that I am trying to copy.  It is a bootable cdrom.  I can
  make a copy of it, but I can't boot off of it.  I am assuming that I
  need to do something different in the mkisofs command.  I even tried to
  to point the iso creation process at /dev/hda, but that did not work
  either.
 
 I can't understand what's your problem.
 
 Why do you use mkisofs at all?
 The data on the original cdrom is an ISO9660 image, isn't it?
 
 So if you can boot the original CD you will be able to boot a copy of it.

Well the mkisofs didn't work!  I'm not an expert but as I understand it:
When you mount a cdrom you can't/don't see the boot information. 
Therefore when making an iso, you don't get the boot information.

I ended up using xdxroast, thank someone for that.

 
 Kind regards
 
 Carsten
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




ide-scsi question

2001-12-10 Thread Mike R. Cannon

I am trying to write cdroms with my IDE drive.   At this point I can't
even mount a cdrom in it.  Below is my configuration:

more /boot/grub/grub.conf | grep ide
kernel /vmlinuz-2.4.7-10 ro root=/dev/sda3 hdc=ide-scsi
kernel /vmlinuz ro root=/dev/sda3 hdc=ide-scsi

/sbin/lsmod
Module  Size  Used by
vmnet  16864   6
vmmon  17856   0 (unused)
eepro100   16032   1
af_packet  11872   0 (autoclean)
ide-scsi7648   0
ide-cd 26544   0
cdrom  27552   0 [ide-cd]
ide-mod65008   0 [ide-scsi ide-cd]
rtc 5536   0 (autoclean)

more /etc/fstab | grep cdrom1
/dev/cdrom1 /mnt/cdrom1 iso9660
noauto,owner,kudzu,ro 0 0

ls -al /dev/cdrom1
lrwxrwxrwx1 root root9 Dec  3 22:31 /dev/cdrom1 -
/dev/scd0

more /etc/modules.conf
options ide-cd ignore=hdc
alias scd0 sr_mod
pre-install sg  modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg
Schilling
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
0,1,0 1) *
0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

-- 
Mike Cannon
Infrastructure Systems Administrator
Vice President for Information Technology
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ide-scsi question, need HELP

2001-12-10 Thread Mike R. Cannon

Mike R. Cannon wrote:
 
 I am trying to write cdroms with my IDE drive.   At this point I can't
 even mount a cdrom in it.  Below is my configuration:
 
 more /boot/grub/grub.conf | grep ide
 kernel /vmlinuz-2.4.7-10 ro root=/dev/sda3 hdc=ide-scsi
 kernel /vmlinuz ro root=/dev/sda3 hdc=ide-scsi
 
 /sbin/lsmod
 Module  Size  Used by
 vmnet  16864   6
 vmmon  17856   0 (unused)
 eepro100   16032   1
 af_packet  11872   0 (autoclean)
 ide-scsi7648   0
 ide-cd 26544   0
 cdrom  27552   0 [ide-cd]
 ide-mod65008   0 [ide-scsi ide-cd]
 rtc 5536   0 (autoclean)
 
 more /etc/fstab | grep cdrom1
 /dev/cdrom1 /mnt/cdrom1 iso9660
 noauto,owner,kudzu,ro 0 0
 
 ls -al /dev/cdrom1
 lrwxrwxrwx1 root root9 Dec  3 22:31 /dev/cdrom1 -
 /dev/scd0
 
 more /etc/modules.conf
 options ide-cd ignore=hdc
 alias scd0 sr_mod
 pre-install sg  modprobe ide-scsi
 pre-install sr_mod modprobe ide-scsi
 pre-install ide-scsi modprobe ide-cd
 
 cdrecord -scanbus
 Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg
 Schilling
 Linux sg driver version: 3.1.20
 Using libscg version 'schily-0.5'
 scsibus0:
 0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,1,0 1) *
 0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *
 
 --
 Mike Cannon
 Infrastructure Systems Administrator
 Vice President for Information Technology
 Purdue University
 1061 Freehafer Hall (FREH)
 West Lafayette, IN  47907-1061
 
 office phone: 765.494.6357
 office fax: 765.496.1380
 email: [EMAIL PROTECTED]
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ide-scsi question - Sorry

2001-12-10 Thread Mike R. Cannon

Sorry about the last mail.  I have more information on my problem.  On
the machine where I have ide cdrom writers working, a cdrecord -scanbus
provides:

scsibus0:
0,0,0 0) 'MATSHITA' 'UJDA330 ' '1.04' Removable
CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

On the machine where it is NOT working, a cdrecord -scanbus provides:
scsibus0:
0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
0,1,0 1) *
0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

On the machine where it does not work I have a couple of scsi hard
drives.  I think by default the ide-scsi part is pointing to /dev/scd0
which could conflict with where the scsi disk is?  Do I need to point
the ide-scsi driver to a location and if so, how do I do that?

Mike R. Cannon wrote:
 
 I am trying to write cdroms with my IDE drive.   At this point I can't
 even mount a cdrom in it.  Below is my configuration:
 
 more /boot/grub/grub.conf | grep ide
 kernel /vmlinuz-2.4.7-10 ro root=/dev/sda3 hdc=ide-scsi
 kernel /vmlinuz ro root=/dev/sda3 hdc=ide-scsi
 
 /sbin/lsmod
 Module  Size  Used by
 vmnet  16864   6
 vmmon  17856   0 (unused)
 eepro100   16032   1
 af_packet  11872   0 (autoclean)
 ide-scsi7648   0
 ide-cd 26544   0
 cdrom  27552   0 [ide-cd]
 ide-mod65008   0 [ide-scsi ide-cd]
 rtc 5536   0 (autoclean)
 
 more /etc/fstab | grep cdrom1
 /dev/cdrom1 /mnt/cdrom1 iso9660
 noauto,owner,kudzu,ro 0 0
 
 ls -al /dev/cdrom1
 lrwxrwxrwx1 root root9 Dec  3 22:31 /dev/cdrom1 -
 /dev/scd0
 
 more /etc/modules.conf
 options ide-cd ignore=hdc
 alias scd0 sr_mod
 pre-install sg  modprobe ide-scsi
 pre-install sr_mod modprobe ide-scsi
 pre-install ide-scsi modprobe ide-cd
 
 cdrecord -scanbus
 Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg
 Schilling
 Linux sg driver version: 3.1.20
 Using libscg version 'schily-0.5'
 scsibus0:
 0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,1,0 1) *
 0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *
 
 --
 Mike Cannon
 Infrastructure Systems Administrator
 Vice President for Information Technology
 Purdue University
 1061 Freehafer Hall (FREH)
 West Lafayette, IN  47907-1061
 
 office phone: 765.494.6357
 office fax: 765.496.1380
 email: [EMAIL PROTECTED]
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: hp-ux bootable cdrom

2001-11-05 Thread Mike R. Cannon


  What is the exact size? Is it dividable by 2048?
 
 What I have:
 561219584/2048=274033  yes, it is dividable by 2048
 
 Dave is this the same file size as when it was on the HP-UX box?

Joerg:
I sent this back to you on Friday, in response to your question, but I
have not heard back from you?
Should I do something different with the image being that the size is
divisible by 2048 and HP said to use RAW mode.

Also the cdrom would boot the HP box, but eventually errored during a
system restore.  They could not mount the cdrom in an already booted HP
system.  So there is a possibility that the image I had needed to be
modified to correct the system restore part, but what about not being
able to mount the cd, might that bring me back to the RAW issue?


-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: hp-up bootable cdrom

2001-11-02 Thread Mike R. Cannon

with cdfs I get: file system not supported by the kernel.  I don't see
an option in make xconfig to compile it in either.  I did an rgrep in
/usr/src/kernel and found not hits?  How do I get support for this?

Giuseppe Corbelli wrote:
 
 On Thu, Nov 01, 2001 at 01:34:42PM -0500, Mike R. Cannon wrote:
  The package that they are using on hp-ux is creating a single file -
  like an iso - but it is not an iso, because I can't mount it as such:
   mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /mnt/iso
 You may as well try to mount it loopback using cdfs under linux.
 cdfs is a separate kernel module which shows all tracks/session on a cd.
 
 --
 Giuseppe Cowo Corbelli ~\/~ My software: http://cowo.mascanc.net
 -! Le uniche cose che girano sotto windoze sono le palle! !-
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: hp-ux bootable cdrom

2001-11-02 Thread Mike R. Cannon

Joerg Schilling wrote:
 
 From: Mike R. Cannon [EMAIL PROTECTED]
 
 I was wrong about the size.  I don't know where I received the 470
 figure from.  I just burned the cd using the command:
   cdrecord -v speed=4 dev=0,0,0  -data  /mnt/cdrom/fs_image
 
 cdrecord wrote 535 MB of data to the new cd.
 
 The cd was created but I can't mount it.  Not sure if the image the HP
 guys gave me was bad or that it will only be mountable on an HP-UX box?
 I'm working from home today so it will have to wait until Monday before
 I have them test it in an HP-UX box.
 
 What is the exact size? Is it dividable by 2048?

What I have:
561219584/2048=274033  yes, it is dividable by 2048


Dave is this the same file size as when it was on the HP-UX box?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: hp-ux bootable cdrom

2001-11-02 Thread Mike R. Cannon

 
  What is the exact size? Is it dividable by 2048?
 
 What I have:
 561219584/2048=274033  yes, it is dividable by 2048
 
 Dave is this the same file size as when it was on the HP-UX box?

Same size on the HP box.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




hp-up bootable cdrom

2001-11-01 Thread Mike R. Cannon

I am trying to create a bootable cdrom for hpux.  The HP guys are using
an Ignite-UX package to create an image that HP says needs to be
written to a cd in RAW format.  Will my standard cdwite command I use on
linux do this for them?
cdrecord -v speed=4 dev=0,0,0  -data  cd_image


-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: hp-up bootable cdrom

2001-11-01 Thread Mike R. Cannon

The package that they are using on hp-ux is creating a single file -
like an iso - but it is not an iso, because I can't mount it as such:
 mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /mnt/iso

Then this single file is to be written to a cd in raw mode, that HP
claims will contain 470 MB of HP-UX os crap?

Joerg Schilling wrote:
 
 From: Mike R. Cannon [EMAIL PROTECTED]
 
 I am trying to create a bootable cdrom for hpux.  The HP guys are using
 an Ignite-UX package to create an image that HP says needs to be
 written to a cd in RAW format.  Will my standard cdwite command I use on
 linux do this for them?
 cdrecord -v speed=4 dev=0,0,0  -data  cd_image
 
 You don't need RAW mode for writing a bootable image, but you need to know
 how a HP machine boots. If you figured this out, I am interested in a README.hpuxboot
 for the source package.
 
 Did you read README.sparcboot and README.eltorito to see how other boot
 methods work?
 
 Jörg
 
  EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
[EMAIL PROTECTED]   (work) chars I am Jorg Schilling
  URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cd to cd copy

2001-04-16 Thread Mike R. Cannon

Is it possible to burn a cd from a cd with out first making a iso?  I
use these commands to produce a cd:

mkisofs  -r -J -V cd_name  -o cd_image   img/

cdrecord -v speed=4 dev=0,0,0  -data  cd_image


We just received a new machine to set up as a universal cd writer.  I
want to put linux on it, but others want windows.  Biggest complaint was
they would not be able to simple copy cds, the would need to make iso
first.  Is there a way to just copy without making an iso.

Thanks for your time in advance.

--
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]