Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 have an iso which is 4.5GB .I want to put this on a flash drive and boot it from the flash drive.
I want to keep the iso file as it is and not extract it in the flash drive
So if i have mytest.iso then i want to keep this mytest.iso file on the flash drive too. So that when i make a new iso i just have to copy paste the new iso in the flash drive and everything else remains the same.
The problem currently is i have to write a DVD everytime i make a change or fix a bug in a iso and writing a DVD take hours and i get to work in 4 or 5th try.
Hence the need of flash drive.
I have gone through Grub4Dos ,extlinux
Grub4dos wont work as its more than 4gb iso.
Now, that's not the normal way to boot linux off usb...
However, we need more info too
what distro are you using?
flash is fat32 or ext3?
extlinux is for booting linux filesystem, not fat16/32
Please explain more to us, and what iso your trying to put on usb.
Well since the iso is more than 4GB i cannot use fat the file system of the flash drive is ext2 .
The iso i am trying to boot is a RHEL5 with my software configured in it .
i have a bootable iso of it but i want to put it on a flash drive to make things faster since burning a DVD is pain
Well since the iso is more than 4GB i cannot use fat the file system of the flash drive is ext2 .
The iso i am trying to boot is a RHEL5 with my software configured in it .
i have a bootable iso of it but i want to put it on a flash drive to make things faster since burning a DVD is pain
Let me know if u need any other information
Hi guys i would really appreciate if some could direct me in the right direction
Hello niravshah
yes we need more info
Please post isolinux.cfg
for your iso?
Does it make a difference what iso it is.
All I want to do is get the iso bootloader to work without extracting the ISO.I was hoping that once I get this to work it would work with any iso.
While googling i came across this link which promises to do exactly what I want but it does not tell me how to do it.
here's info on booting and installing fedora with no cdrom using hd/usb partition
using just regualar GRUB
seems, like sidux, you boot off the kernel and intird that are not in the iso
meaning mount the iso, copy kernel/initrd to a folder somewhwere
then edit menu.lst
Quote:
# Fedora 9/10 Live
title Fedora 9/10 Live
root (hd0,7)
kernel /isolinux/vmlinuz0 root=/dev/sda8 rootfstype=ext3 rw quiet liveimg rhgb
initrd /isolinux/initrd0.img
here's info on booting and installing fedora with no cdrom using hd/usb partition
using just regualar GRUB
seems, like sidux, you boot off the kernel and intird that are not in the iso
meaning mount the iso, copy kernel/initrd to a folder somewhwere
then edit menu.lst
No, I under stand
right now I am writing you from sidux-2009-02 which is booting off th iso via my ext3 usb
here is my menu.lst, note the "fromiso" entry
not all distro's have this ability, unless I'm mistaken?
now here's the fedora one, which should be similar if redhat can do this
Code:
# Fedora 9/10 Live
title Fedora 9/10 Live
root (hd0,7)
kernel /isolinux/vmlinuz0 root=/dev/sda8 rootfstype=ext3 rw quiet liveimg rhgb
initrd /isolinux/initrd0.img
just change the "root=" setting
I don't know if redhat can do this, but if fedora can, why not redhat?
Quote:
I want to boot a iso be it any iso.
The iso is in the flash drive which I don't think is possible with regular grub.
When i plug in the flash drive and set my bios to boot from usb it should exactly like booting from a bootable DVD
that's exactly what I'm doing now
booting off usb via the kernel/initrd in sidux folder
there is also sidux iso in sidux folder which is mounted at boot
as read-only
then there is a folder named "fll" where all settings, apps installed, etc remain as persistent; ie, a frugal install
No, I under stand
right now I am writing you from sidux-2009-02 which is booting off th iso via my ext3 usb
here is my menu.lst, note the "fromiso" entry
not all distro's have this ability, unless I'm mistaken?
now here's the fedora one, which should be similar if redhat can do this
Code:
# Fedora 9/10 Live
title Fedora 9/10 Live
root (hd0,7)
kernel /isolinux/vmlinuz0 root=/dev/sda8 rootfstype=ext3 rw quiet liveimg rhgb
initrd /isolinux/initrd0.img
just change the "root=" setting
I don't know if redhat can do this, but if fedora can, why not redhat?
that's exactly what I'm doing now
booting off usb via the kernel/initrd in sidux folder
there is also sidux iso in sidux folder which is mounted at boot
as read-only
then there is a folder named "fll" where all settings, apps installed, etc remain as persistent; ie, a frugal install
Wow This looks very promising.
But i am a new baby to linux so it would be more helpful to me if you could tell me in steps what I need to do.
I know this is asking for to much but where to I start and how to get this don't on a flash drive.
I would surely give it a try.
Don't get your hopes up yet, as I'm not sure if redhat can do this
is fedora redhat based???
did you read the links about booting fedora via iso?
try just replacing their menu.lst with kernel/initrd from your dvd iso
and whatnot
that's why I asked you to post isolinux.cfg for redhat dvd so we can hack at it
The links you have sent me tells me to mount the iso on the flash drive which i don't want to do.
If I could do that it would have been a lot easier to do with extlinux just install the bootlaoder and change the name of isolinux.cfg to extlinux.conf(have tried this and it works for my iso)
But this I cannot do.
I don't want to boot fedora via an ISO i want to boot the ISO
I think their just mounting the iso temporarily to copy the kernel/initrd
so the kernel/initrd get booted, then it mounts the iso as read-only and uses the squashfs, etc
as the main system
Quote:
su
cd /mnt/
mkdir iso live
mount -o loop -t iso9660 ~/Distro/Fedora-Live.iso iso
mount -t ext3 /dev/sda8 live
cp -r iso/* live/
umount iso live
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.