Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i need to write an iso to a HD partition, the main reason is so that i can boot it from GRUB, i cannot boot CD's or PXE boot, the smart boot manager doesnt work either so can anyone tell me how to format a HDD partition to ISO9660 format, or write not only the files but the boot sector of an iso image to a normal HDD partition?
Being able to boot CDR/DVD (apart from the BIOS setting) means the BIOS and CDR/DVD drive being able to read a (1.4 or 2.8MB) El Torito. If your system doesn't recognise it then it won't recognise it as one if you write it to HD so "formatting a HDD partition to ISO9660 format" won't work. What removable media can the box handle? Doesn't it contain a floppy drive?
it has both a cd/dvd-rw drive and a floppy drive, i cannot boot the cd because of special circumstances, i want to use grub to chainload an iso image but grub doesnt have cd support so i therefore need to be able to chainload an HDD partition to boot a cd image, i know what i'm talking about here and i prefer not to go into the nitty gritty details
when i said "i know what i'm talking about here" i meant about that my computer could boot a cd/dvd if i had a floppy or an HDD partition that could point my system to my cd/dvd-rw drive, due to having no onboard IDE connections that work, i'm currently using a Promise technologies ultra100 IDE PCI card (ie. it turns a PCI slot into 2 IDE connections) it has no cd-booting support, i'm getting a new MB soon anyway but i need to be able to boot this maimed system with a new OS
Last edited by Person_1873; 12-19-2007 at 08:38 AM.
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,571
Rep:
Hey unSpawn couldn't he copy the DVD/CD with "dd" to the hard disk and then mount it in a loop device? Sorry to ask like this but I have no idea whether and how it would work...
And that is how it can be applied to a USB device. Booting off from a hard disk is even easier. Make sure you read Post #5.
A few inaccuracies here.
(1) If this statement "i know what i'm talking about here and i prefer not to go into the nitty gritty details" is correct then you should know "to format a HDD partition to ISO9660 format" is impossible.
(2) The statement "grub doesnt have cd support" is incorrect because stage2_eltorito in Grub can be used to boot any CD and DVD. The above link proves Grub can be used to boot CD/DVD. It has been inside Grub for donkey years!
An iso file can be booted from any hard disk including USB device but it requires the following
(1) You need a Linux or a Windows to expand the iso file into a normal filing system first.
(2) You need to substitute isolinux with Grub. The above links show plenty examples.
ok sorry i was under the impression that eltorito was supposed to be loaded onto a CD so that when you booted a CD it loaded up GRUB... could someone give me some direction on how to install eltorito on my HDD MBR?
here's the grub config with machine specific data made obvious
Code:
title Ubuntu 7.10 Live CD
kernel /casper/vmlinuz append file=/preseed/ubuntu.seed boot=casper
initrd /casper/initrd.gz quiet splash cdroot=/dev/hdf1 --
replace cdroot=/dev/hdf1 with cdroot=/dev/the partition that contains your extracted ISO
also the partition MUST be in ext3 format not ext2 otherwise the kernel doesn't like it
Last edited by Person_1873; 12-19-2007 at 09:00 AM.
well thanks for the link anyway saikee, i've now managed to boot and install Ubuntu 7.10 from the live CD using a grub boot floppy i made as a backup incase i screwed my MBR (which i did) and all is well
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.