LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-26-2008, 03:02 PM   #1
x1101
LQ Newbie
 
Registered: Apr 2006
Location: Maine USA
Distribution: Ubuntu 7.10 / Fluxbuntu 7.10
Posts: 7

Rep: Reputation: 0
Formatting a partition to iso9960


I am working on an odd little project and I was wondering if anyone knew a way to format a partition on an existing hard drive to iso9960. I tried cfdisk, and it's not listed in the options, and Google-ing is just not giving my any results.

Thanks for your help,

x1101
 
Old 02-26-2008, 04:38 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
never heard of it.

for remastering a live cd or bootable cd, you use loop ....eg

Code:
su
mkdir /mnt/cdrom
mount -o loop rip4.iso /mnt/cdrom/
or use virtualbox to point to your iso.
 
Old 02-26-2008, 05:31 PM   #3
x1101
LQ Newbie
 
Registered: Apr 2006
Location: Maine USA
Distribution: Ubuntu 7.10 / Fluxbuntu 7.10
Posts: 7

Original Poster
Rep: Reputation: 0
I'm actually trying to make it so that I can copy the contents of an ISO to a partition and the boot that "ISO" from the hard drive. But the almost completely on being able to format the partition as ISO-9960
 
Old 02-26-2008, 05:36 PM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
you might try using dd to copy an iso to a bare partition, then using loop to mount it.

ISO-9660 isn't a full file system because it has no write capability and I doubt that you'll be able to format your partition for it.
 
Old 02-26-2008, 06:20 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Quote:
I'm actually trying to make it so that I can copy the contents of an ISO to a partition and the boot that "ISO" from the hard drive.
You could use VMWare for something like that.
 
Old 02-26-2008, 08:22 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
when you say boot from hard drive, do you mean once a host system is already booted?

if so I have already mentioned virtualbox, eg booting a knoppix iso image

after installing Vb, create any size hard drive and config it to treat the optical drive as an iso

http://h1.ripway.com/aus9/iso.png

then

http://h1.ripway.com/aus9/vb.png
 
Old 02-27-2008, 07:22 AM   #7
x1101
LQ Newbie
 
Registered: Apr 2006
Location: Maine USA
Distribution: Ubuntu 7.10 / Fluxbuntu 7.10
Posts: 7

Original Poster
Rep: Reputation: 0
I guess I'm not being clear, I'm trying to do something totally new. I am working on a way to move the contents of an ISO to a partition on the HD, do some fiddling with grub, and the boot up as if the iso had been burnt to a cd and was running in my drive. Because mounting is un-done when you reboot, that is obviously of no help. But... does dd copy everything bit for bit? because if it does, that might...might work. I know that _in theory_ this should be possible, based on what the U3 drives can do, but figuring out how to do it _in practice_ is where I am having the issue. Once I figure out how to do this I am going to try to script it, and some friends have suggested some other interesting ideas, but I have to find a way to make it work first.
Thanks, and sorry for bring un-clear the first time.
 
Old 02-27-2008, 06:09 PM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
so you want a grub menu to boot an iso?

no knowledge in me but this knoppix cheat code may interest you?

bootfrom=/dev/hda1/KNX.iso
Access image, boot from ISO-Image. - Knoppix V3.4
NOTE: bootfrom needs access to a running Knoppix-System with the same Kernel as the Bootkernel, before it is able to mount the partition / ISO-Image. This should allow a poor mans install from NTFS-Partitions and makes it also possible to boot an ISO-Image directly. You can also use wildcards in the ISO-Filename, but it must be unique. So: If you have just one KNOPPIX.iso on /dev/hda1 you can access it as: bootfrom=/dev/hda1/K*.iso, but if there are several, you need to make clear, which one you want. (Feature added by Fabian Franz.)
CAUTION: The 2.4 kernel that is in the KNOPPIX 3.4 CD does not support the ext3 filesystem so make sure that the ISO is stored in an ext2 filesystem.
 
  


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
Partition formatting TurboChicken Linux - Hardware 3 03-07-2006 10:16 AM
Formatting Existing Partition? aquiferous Linux - Newbie 1 01-27-2005 05:29 PM
help with partition formatting and reisferFS debloxie Linux - Newbie 11 05-11-2004 10:24 AM
Formatting a FAT32 partition... SamH Linux - General 3 12-23-2003 10:51 AM
can i resize partition without formatting? doublefailure Linux - General 4 03-23-2002 06:15 PM

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

All times are GMT -5. The time now is 03:59 PM.

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