LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2004, 12:08 PM   #1
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Rep: Reputation: 15
unreadable but bootable cdrom;)


Hi, today I worked with some bootable cdrom. It really works and it's some private version of program that copies installation files to hard drive.. I'm wondering how to read any files on this cdrom.. I think this log shows you enough:

Code:
$ cd /mnt
/mnt$ mount cdrom
/mnt$ df -m  |grep cdrom
/dev/sr0                   351       351         0 100% /mnt/cdrom
/mnt$ cd cdrom
/mnt/cdrom$ ls -al
razem 3
dr-xr-xr-x   1 root root 2048 1970-01-01 01:00 ./
drwxr-xr-x  16 root root  672 2004-06-16 00:28 ../
/mnt/cdrom$ du -ms
1       .
I have never met with this before, and I'm wondering how can I read any file on this cdrom and how can I create myself these unreadable(??) cd's

I googled but.. .. I'm not english and I don't know how to ask google for this.

I tested to read this cd on some different OS's and nothing is seen but capacity.
 
Old 06-22-2004, 04:00 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
There might be a strange filesystem (or no filesystem at all), so you may not be able to mount it. If I'm rightt, to make such a cd, you'd need to write a program that reads the cd directly (working as an OS, because it's bootable), 'mounts' the hard disk and copies the files. In simplier case, there would be just a compressed file written directly to the disk (after certain needed structure).
But I've never seen such a cd, so I'm just saying how I'd do this.
 
Old 06-22-2004, 04:26 PM   #3
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Original Poster
Rep: Reputation: 15
Ok, thanks for your post.

I just add that after boot there is some menu where I can choose: format, make partitions and copy instalation files some very old, almost forgotten os w1ndz98 :P

Code:
# mount | grep cdrom
/dev/sr0 on /mnt/cdrom type iso9660 (ro,noexec,nosuid,nodev)
#dd if=/dev/cdrom of=backup.iso
# du -m backup.iso
351     backup.iso
I'm not able (yet;P) to write this kind of stuff now... I think it's nice piece of assember.. but the idea is really cool for me.

greets
 
Old 06-23-2004, 05:31 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
So it may be that it just uses some extensions (read: Joliet) your kernel doesn't have. Do you have Joliet support in your kernel (in the kernel or as a module)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bootable CDROM issue ramasrama Linux From Scratch 0 08-05-2004 05:15 AM
Creating Bootable CDROM lfloridays Linux - Newbie 3 07-17-2004 06:59 AM
How to create a bootable CDROM? benny Linux - Newbie 5 04-09-2004 01:51 PM
cdrom unreadable not_yet Linux - Newbie 1 02-13-2004 01:20 AM
Creating bootable CDROM 3inone Linux - Newbie 7 11-10-2003 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration