LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
LinkBack Search this Thread
Old 08-10-2004, 12:19 PM   #1
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
bare.i + rootdisks only ISO image?


Hi,

I would like to create a bootable CD based on Slackware's bootable floppy images. Basically, I don't want to use floppies and I don't wanna have to download a full bootable ISO just to use as a boot CD later. I would like to create a bootable ISO small enough to fit on mini-cdr or mini-cdrw that would allow to start the installation process. Then I can mount the full ISO images or just use a premounted directory option. Could I just combine bare.i and rootdisks images into an ISO? Is this even possible? If no one has tried this, I could possibly be creating a tool that not only I can use but others as well.

Thanks for your input on this
 
Old 08-11-2004, 12:56 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
All you really need is the kernel and the initrd from ISO1. See directions inside the isolinux folder for making a custom CD. You just need the isolinux folder. You can then have isnatllation files on HD or other CD.
The initrd contains the same setup routines found on the floppies. You can also use install.zip, which is like zipslack, in that it runs from a FAT and also contains the same setup routines.
 
Old 08-11-2004, 08:30 AM   #3
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Original Poster
Rep: Reputation: 30
hello again,

Ok, im confused now. I downloaded only the files I want in the iso file. I placed them all in under one folder, changed dir to that folder and ran mkisofs. This is what I end up with:

mkisofs -o /iso/slackware.iso -R -J -V "Slackware Install" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -A "Slackware Install CD" .
Warning: creating filesystem that does not conform to ISO-9660.
mkisofs 2.0.3 (i686-pc-linux-gnu)
Scanning .
Scanning ./isolinux
Scanning ./isolinux/sbootmgr
Scanning ./bootdisks
Scanning ./kernels
Scanning ./kernels/adaptec.s
Scanning ./kernels/ataraid.i
Scanning ./kernels/bare.i
Scanning ./kernels/bareacpi.i
Scanning ./kernels/ibmmca.s
Scanning ./kernels/jfs.s
Scanning ./kernels/lowmem.i
Scanning ./kernels/modules
Scanning ./kernels/old_cd.i
Scanning ./kernels/pportide.i
Scanning ./kernels/raid.s
Scanning ./kernels/scsi.s
Scanning ./kernels/scsi2.s
Scanning ./kernels/scsi3.s
Scanning ./kernels/speakup.s
Scanning ./kernels/xfs.s
Scanning ./kernels/zipslack.s
Scanning ./rootdisks
Using RAWRI000.EXE for ./isolinux/sbootmgr/RAWRITE13.EXE (RAWRITE12.EXE)
Using RAWRI000.EXE for ./bootdisks/RAWRITE13.EXE (RAWRITE12.EXE)
Using RAWRI000.EXE for ./rootdisks/RAWRITE13.EXE (RAWRITE12.EXE)
mkisofs: No such file or directory. Unable to open disc image file

Any suggestions as to what's going on? Thanks.
 
Old 08-11-2004, 09:05 AM   #4
bonecrusher
Member
 
Registered: Mar 2004
Location: St. Louis, MO
Distribution: Slackware-current, Ubuntu Server, Gentoo
Posts: 207

Rep: Reputation: 30
Quote:
Originally posted by hrp2171
hello again,

Ok, im confused now. I downloaded only the files I want in the iso file. I placed them all in under one folder, changed dir to that folder and ran mkisofs. This is what I end up with:

mkisofs -o /iso/slackware.iso -R -J -V "Slackware Install" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -A "Slackware Install CD" .
Warning: creating filesystem that does not conform to ISO-9660.
mkisofs 2.0.3 (i686-pc-linux-gnu)
Scanning .
Scanning ./isolinux
Scanning ./isolinux/sbootmgr
Scanning ./bootdisks
Scanning ./kernels
Scanning ./kernels/adaptec.s
Scanning ./kernels/ataraid.i
Scanning ./kernels/bare.i
Scanning ./kernels/bareacpi.i
Scanning ./kernels/ibmmca.s
Scanning ./kernels/jfs.s
Scanning ./kernels/lowmem.i
Scanning ./kernels/modules
Scanning ./kernels/old_cd.i
Scanning ./kernels/pportide.i
Scanning ./kernels/raid.s
Scanning ./kernels/scsi.s
Scanning ./kernels/scsi2.s
Scanning ./kernels/scsi3.s
Scanning ./kernels/speakup.s
Scanning ./kernels/xfs.s
Scanning ./kernels/zipslack.s
Scanning ./rootdisks
Using RAWRI000.EXE for ./isolinux/sbootmgr/RAWRITE13.EXE (RAWRITE12.EXE)
Using RAWRI000.EXE for ./bootdisks/RAWRITE13.EXE (RAWRITE12.EXE)
Using RAWRI000.EXE for ./rootdisks/RAWRITE13.EXE (RAWRITE12.EXE)
mkisofs: No such file or directory. Unable to open disc image file

Any suggestions as to what's going on? Thanks.
Do you have a root folder named : "iso"?

Code:
mkisofs -o /iso/slackware.iso
^ You are sending the .iso to a folder named: /iso

Sounds like that may be the prob. Probably better to just send it to your home dir anyway.. something like:

/root/iso/xxxxx.iso

or

/home/user/iso/xxxxx.iso

just make sure the dir exists and has proper permissions.

BTW if you use the command the way Patrick V. has it as an example on the Disk, it would send it to the /tmp directory-folder.
This obviously isn't necessary, but just a thought.
bc

EDIT:
Oh BTW if you use the proper 'extensions' while making your disk you can avoid having it re-name files like rawrite above... (It is making them stick to the 8+3 Standard for ISO's...) You can override this, forget the command... just look it up in the man.



Last edited by bonecrusher; 08-11-2004 at 09:13 AM.
 
Old 08-11-2004, 10:18 AM   #5
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Original Poster
Rep: Reputation: 30
Thanks for your reply.

Yes, I made sure those dirs were created prior to running the command. It gave me the same message with /tmp/slackware.iso in there. So I figure I create a different dir. I'll look up the renaming option cause that was going to be my next concern. I wouldn't be surprised if the renaming is causing the error message. I'll keep you posted.

the option is -l "Allow full 32 character filenames. Normally the ISO9660 filename will be in an 8.3 format which is compatible with MS-DOS, even though the ISO9660 standard allows filenames of up to 32 characters. If you use this option, the disc may be difficult to use on a MS-DOS system, but this comes in handy on some other systems (such as the Amiga). Use with caution."

Last edited by hrp2171; 08-11-2004 at 10:26 AM.
 
Old 08-11-2004, 03:47 PM   #6
bonecrusher
Member
 
Registered: Mar 2004
Location: St. Louis, MO
Distribution: Slackware-current, Ubuntu Server, Gentoo
Posts: 207

Rep: Reputation: 30
Question Permissions?

The only thing I can think of is that your permissions are bad. Come to think of it '-J' should be fine for Joliet extensions (In addition to a ISO9660 table)... So I dunno... check permissions and let me know.. if that's not it, get back to me. I take it that you are root when doing this?


As a note:
Although it appears you are doing this, I make mine by first ALWAYS cp'ing the CD I wanna 'copy' off from the CD to it's own directory on the harddrive, and then after it is in it's own dir, I delete or add what I want.. (I never do the graft-points thing as it just starts getting confused after awhile...) And thats about it.. make sure your permissions are set right for the DIR where the CD is being read, and for where the file (ISO) will be written to. And make sure your 'root', and that's about it...

But like I said, if it's not permissions, then let me know, and I iwll try and help you fig it out.

bc


Last edited by bonecrusher; 08-11-2004 at 04:15 PM.
 
Old 08-11-2004, 10:07 PM   #7
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Original Poster
Rep: Reputation: 30
Got the image created, but burned it to cd and its not recognizable either in windows nor in linux.

The issues were I created the iso dir inside /root not in / and the longfilename option. LOL

So, I can't boot off from it nor look at the contents in Windows Explorer nor mount it under Linux. Oh well! I tried.

Thanks for the help guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bare ide and bare acpi kernels denning Slackware 1 03-04-2005 05:50 AM
iso image alexr186 Linux - Software 2 07-01-2004 02:21 PM
creating a bare-bare-barebones system for an underpowered laptop orange400 Linux - General 3 06-15-2004 05:53 PM
What is an ISO image anastacio Linux - Newbie 30 06-08-2004 10:48 AM
Can't find bare.i on custom ISO CD drunkenmaster Slackware 4 06-01-2002 04:55 PM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration