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.
Don't let my post count fool you: I'm either still a Newbie or perhaps just an idiot.
So...
I've downloaded my distro of choice (CentOS - I have reasons) in ISO form, and burned it to a DVD.
I've tried restarting the machine with the DVD as the first boot choice, I see activity, but then the system loads the installed OS (which is also CentOS, I wish to do a clean install).
I also tried putting the ISO on a USB hard drive, and changing the boot order to boot from that. I see activity, but again the machine goes on to boot from the installed OS.
Question: If I look at the content of the DVD / hard drive with the ISO on it, what should I see?
Clearly I'm doing something wrong. Perhaps I've downloaded the ISO and burned it incorrectly to the DVD?
And, if the ISO is on the USB hard drive, shouldn't I be able to boot from that if I change the boot order?
What if I extract the ISO files to the USB hard drive? Any better?
If all you see is one file i.e. the ISO itself then you didn't burn as image. If you see a bunch of files then there is a fairly good change you burned as an image. How did you write the ISO to USB drive? If you used the dd command then it should of created a bootable drive.
Did you verify the downloaded ISO using the provided checksums? Assuming that the downloaded ISO is good, burned the DVD as an image and selected the DVD as the first boot device it should work.
If all you see is one file i.e. the ISO itself then you didn't burn as image. If you see a bunch of files then there is a fairly good change you burned as an image. How did you write the ISO to USB drive? If you used the dd command then it should of created a bootable drive.
Yes, burned to DVD which now contains a bunch of files. No, didn't use dd command, used a GUI disc burning utility that is a standard package with the CentOS install. For the USB hard drive, simply copied the ISO files to it. Got plenty if DVD's, do you recommend burning again with the dd comand?
Quote:
Originally Posted by michaelk
Did you verify the downloaded ISO using the provided checksums? Assuming that the downloaded ISO is good, burned the DVD as an image and selected the DVD as the first boot device it should work.
Hmmm. No, I did not check the checksum, of course a stupid thing not to do. How would I go about doing that? Never mind, I can Google it. I know where to find the checksums at CentOS.org for what I downloaded.
Thanks for your time!
[EDIT]
OK, bad ISO file:
Code:
mount -t iso9660 /dev/sr0 /mnt
...returns...
Code:
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
But mounting the DVD with a DVD image of *known goodness*, I get this:
Code:
# mount -t iso9660 /dev/sr0 /media/dvd
Cannot create link /etc/mtab~
Perhaps there is a stale lock file?
Hmmm..... It *does* mount, but in read only.
Anyway, the checksums of the ORIGINAL downloaded iso match so it was a burning error that produced an unmountable DVD, but then why can't I boot into the USB hard drive that contains the iso?
Might end up telling us more about this system. Did it ever install some linux? Did it ever boot to a usb the way you tried? Is the system new and beyond the minimal hardware needed?
Might end up telling us more about this system. Did it ever install some linux? Did it ever boot to a usb the way you tried? Is the system new and beyond the minimal hardware needed?
In the end, I installed CentOS v5 from DVD's in my library, downloaded and burned bootable images of CentOS v7, and did a clean install.
Pretty sure if I knew more or had more time, I could look at logs and find where things went belly-up with the original, but in the end, this did it.
But I did learn a whole lot about mounting, unmounting, and formatting various mediums...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.