Using Install from USB problem

Asked by n1nj4r14

Hey, I'm new to Linux.. but let me explain my problem to you :)

I just built a new Desktop, and I've always had a problem with "Disk Boot Failure, Insert System disk and press enter" Well after couple days of racking my brain, I finally figured a way to get linux to install. I used my HP Laptop and inserted my External Western Digtial HD, and installed Ubuntu on the disk. Still no luck with that. So I kept searching and searching.. then I came upon the Install/FromUSB.

After going through the instructions about 5x, finally getting the USB To boot Linux. I get to where I have to install it and its asking me for the CDrom. Well apprently my CDRom is messed up and won't get recognized by Linux(but BIOS does recognize it).
So I went ahead and hit ALT+F2 and typed this in..

"Mounting the USB stick as /cdrom

This step is only needed for the Alternate install CD and Ubuntu 6.10 or older.

Switch to the second virtual console during the first couple of dialogs (when asked about your preferred language for the installation etc.) by pressing the ""ALT-2"". Do the following:

    *

      mkdir /cdrom /dev/cdroms
    *

      cd /dev/cdroms
    *

      ln -s ../sda1 cdrom0 (where sda1 is your USB stick)
    *

      mount -t vfat /dev/cdroms/cdrom0 /cdrom""

I keep getting errors saying that

MKdir: cannot Create director /cdrom : file exists

I try -s ../sda1 cdrom 0 (how do i find out what my USB Stick is??)
and nothing happens there, then I try

mount -t vfat /dev/cdroms/cdrom0 /cdrom
 and get the rror, Mount: Mounting /dev/cdroms/cdrom0 /cdrom failed: Invalid Argument.

Does anyone have an idea what I have to type in, so it will install from my USB? since my CDRom doesn't want to work?

I'm using the latest Ubuntu ALT X86 version.

Thank you,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
n1nj4r14
Solved:
Last query:
Last reply:
Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#1

Before the "Disk Boot Failure, Insert System disk and press enter" error message appears, does it say "Searching Boot Record from CDROM"?

If not, the CD drive is not part of the boot sequence.
Change this in your BIOS. Upon boot, rather early, hit the 'DEL' key. Make the CD drive your first boot device. Svae and quit.

You should now be able to install from CD.

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#2

Not sure what it says before the disk boot failure, too fast to read.

I've made sure plenty of times that the CDROM is part of the boot sequence, and is the first one to boot. Still the same thing, Disk boot failure.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Have you self made the Ubuntu boot cd...?
if yes, have you checked the md5sum of your downloaded iso image...?
Can you boot from other bootstrap cd like Win install cd...?
Have you burned your cd at lower speed you can do...?

Thank you

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#4

I can't install anything with the CDROM. The CDROM itself is bad, i'll have to end up getting a new one, but I was wondering if theres a way to set the USB to make it seem like its the CDROM, so Linux will continue with the install.

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#5

Yes there is a way, if you have either a working Windows install, a working install of some other distro or can boot from some LiveCD (Knoppix, etc.).

Check out http://lubi.sourceforge.net/unetbootin

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#6
Revision history for this message
n1nj4r14 (n1nj4r14) said :
#7

Alright, I'll go ahead and try this out :) I'll let you know how it works. Thanks for the Info

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#8

Alright I tried it, and its still giving me the same problem. When I try and mount the "cd" and install Ubuntu. It asks for my CDROm. I can make it search through the /dev/cdrom, but theres no CDrom. So How would i make it look at the USB?

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#9

First off, check your BIOS and add USB to the boot sequence.

Second off, I'd try the NetInstall rather than the LiveCD iso image.

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#10

The only way I can get into the Install area is using the USB from the boot sequence. But when I go to Mount and Install from CD, it says, No common CDrom is found. So Is there a code I Could type in with ALT+F2 to make the USB act like the CDROM, so it could install from the USB? and NetInstall?>?

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#11

So instead of USB booting, I installed Ubuntu on my Internal Harddrive.. by making it a Ext. HDD and installed it on my laptop.. Using the Entire Disk option for the HDD. I fixed the /boot/grub/menu.lst at the startup to boot from Ubuntu on the Ext. Hdd. Everything works. Now how do I go about changing it and putting that harddrive back into my desktop to boot?

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#12

If this is the Desktop machine's only hdd and you used the "entire disk" option in the Ubuntu installer, it should have created two partitions only, a swapspace and a Linux/ext3 for the system.

Thus your system will, when in the desktop, reside in sda1 or (hd0,0) in GRUB syntax. So prepare the menu.lst such that it points to (hd0,0) and pop the drive back into the desktop.

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#13

Alright thank you :) And what if it didn't create two partitions? I can make one using the linux partitions manager, correct?

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#14

It created at least two, depending on your choices during the installation process.

The swapspace is virtual memory, i.e. space on the harddrive used for temporary storage if the RAM is full. It's what the pagefile.sys is in Windows operating systems, just that the Linux version of it is not a file, but a partition.

Theoretically you could have more data partitions, a separate /home partition or one for Windows shares, for instance.
Whatever you'd need a third (or fourth) partition for, those could indeed be created with one of the linux partition tools, if you use Ubuntu/gnome the most common choice for (re)partitioning would be gparted.

Revision history for this message
n1nj4r14 (n1nj4r14) said :
#15

Alright Thanks. :) I also figured out what was wrong with the CDROM drive.. Bad Pri-Master IDE on the Motherboard.. go figure :)