Ubuntu :: Grub2 Boot Floppy To Load From USB?
Sep 20, 2010
I have a number of legacy pcs upon which I would like to install Lubuntu. None have CDROM drives, but they do have floppy drives. None can natively boot from USB devices. My goal is to boot into Grub2 from a floppy with USB support, but I'm having trouble making the floppy. I've seen recommended a few times a command string something like
Code:
grub-mkrescue --overlay=/boot/grub --image-type=floppy GRUB2.img
dd if=GRUB2.img of=/dev/fd0
But when I go to do this, grub-mkrescue has no --overlay nor --image-type option. My man grub-mkrescue page only lists --modules and --output as options. I have managed to make a floppy using the commands
Code:
grub-mkrescue --output=FILE
dd if=FILE of=/dev/fd0
This disk does boot into Grub2. The problem with this is that I need to add other files to the disk to have USB functionality in Grub2, but this process writes to the floppy in iso9660 format, which mounts as read-only. I have tried to go this route using the mount -o remount option to try to make the fs rewritable, but I also haven't been successful with that (and I think my limited knowledge is restricting me here).
Maybe I can add the correct files to the file output by grub-mkrescue --output before I write it to the floppy, but I also don't know how to do that.
Basically, I'm a little burned out and looking for some direction. Am I going about this wrong? When I try and follow other people's guides, they seem to have options available to them that I don't have. I'm doing all this from my Lubuntu 10.04 live CD, but have found similar things on my regular Ubuntu 10.04 install as well.
View 3 Replies
ADVERTISEMENT
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
Jan 24, 2011
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
View 2 Replies
View Related
Mar 25, 2010
On Grub legacy i used a menu entry to boot from a DVD since the bios on my pc doesn't recognize my DVD burner.... So before on the old grub i can just added this menu entry and it all worked...title DVDroot(hd0,0)kernel /boot/grub/memdisk.bininitrdboot/grub/sbootmgr.dskthen grub 2 came along and that all changed..on the 40_custom file i added this
menuentry "Boot DVD Drive" {
set root=(hd0,0)
linux /boot/grub/memdisk.bin
[code]....
View 4 Replies
View Related
Feb 19, 2010
I am trying to write a floppy boot image to my floppy drive (as root):
Code:
dd if=boot.img of=/dev/fd0
dd: opening `/dev/fd0': Read-only file system
[code]....
View 8 Replies
View Related
Oct 1, 2010
I have two hard disks sda and sdb. I have Windows XP installed on sda2 and Ubuntu 10.04 on sdb5. When I installed Windows XP, Ubuntu stopped booting. I tried to repair grub2 from a Live CD unsuccessfully. Now I have completely messed up my MBR of both HDDs. I just want to configure grub2 to load both OSes in dual boot mode.
View 9 Replies
View Related
Jul 21, 2010
2010.07.21 while trying to install Ubuntu 10.4 I've been trying to install Ubuntu 10.04 on my Dell workstation and am unable to get the Grub-2 bootloader to load properly. It seems to be failing for lack of a floppy drive on the system resulting in an error message that reads : error: fd0 cannot get C/H/S values.
I've gone through the Grub-2 page at [URL].. to no avail and other sources having similar problems have likewise turned up no solutions. here's the background: A while back I was trying to install a different version of Linux and had the same problems, then had to set the project aside for a bit. I don't think this has anything to do with Linux or Ubuntu per se, but rather Grub.
The system is an old (4-5 years) Dell workstation that has one drive (128 GB) set up for Windows XP and a second new drive (500GB) which I installed for Linux. There is a DVD/CD drive and the system contains no floppy drive at all. In one attempt to get this working I tried modifying the BIOS to indicate there was a floppy drive - this created a failure earlier in the chain with the BIOS failing to load properly, not unexpected, just a shot in the dark at that point.
At the moment I am considering just running out to buy and install a cheap floppy drive to see if that helps. I'll never use the thing though so I'd rather find a solution that doesn't require me to spend money on useless hardware. In any case, here's the /boot/grub/grub.cfg contents:
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
[Code]...
View 1 Replies
View Related
May 17, 2010
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies
View Related
May 2, 2010
So I recently tried to install Ubuntu Lucid in the following configuration code...
The installation procedure went fine, and it said it had successfully installed GRUB2. But then, when I tried to boot up the fresh system, GRUB2 didn't even load!!
It's not giving me any GRUB errors, or giving me a 'grub recovery>' prompt, so I suspect that it really isn't even booting into GRUB.
I tried booting into the LiveCD, and installing grub to BOTH /dev/sda and /dev/sdb, but it still does not work, and I am at a loss.
Has anybody else had this problem?
View 9 Replies
View Related
Nov 28, 2010
i have just finish compiling a new kernel from source and would like to know how to load it in to grub2 i know grub the older version was easy to setup with the new kernels but i am not really in to grub2 to know how to load a new kernel to it.
View 1 Replies
View Related
Dec 23, 2010
I have old laptop without CD (already it's dead), FDD was not from the beginning. This laptop have USB but can't load from USB. I install grub2 but it's work not correct. It boot system only 1 per 3 times. Don't show text correctly - sometimes I saw black squears & not letters (only in this f*g grub2; why developers don't made normal uninstaller?).
View 3 Replies
View Related
May 16, 2011
i installed ubuntu / under /dev/sda1, then installed Win7 under /dev/sda2, as primary. Extended partition and its logicals are for data.
After Win7 installation, i can restore the grub2 for ubuntu, with grub-install and update-grub2. It can even probe the NTFS partition under /dev/sda2. But at restart, when i tried to go to Win7 selection, it does nothing, screen goes black, blank, with a single cursor blinking.
Some data:
Ubuntu Natty 11.04
From /etc/grub/grub.cfg:
Code:
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'
[Code].....
View 3 Replies
View Related
Dec 13, 2009
Is there something weird about the FLOPPY DRIVE on F12? Nothing associated with it works & I can't get an icon for it. Also the FLOPPY FORMATTER no longer works. (mine is an internal drive)- I had some really miner quirks with it in 10 but it worked. I had some workaround launchers that I used until an upgrade semi-fixed it. (It would give a false error that it couldn't run but did. I just ignored it.)
I tried to edit FSTAB to cure a problem of my BACKUP drive showing up twice*** so while I was in there I added the stuff for the floppy & it still doesn't work. If I try to mount it manually, I get the error that /dev/fd0 doesn't exist.I tried to find some info on it & it SEEMS that there MAY be a bug but I'm not sure as the info is a bit confusing as to just what version & such they are talking about. And there was also the problem that all the stuff seemed to be OLD or not related to my problem.I why I quite hacking at my system, is that all my workaround launchers & the formatter say that there are GNOME things missing & they can't run. So I figure that there is something missing or screwy already & that I'd better ask BEFORE I make things worse or actually break something.With the fact that floppies are about gone, it's getting to be not that big of a deal but I still find myself having to use them for repair purposes (albeit, not as much) & it gets to be a bit of a pain to fire up M$ just to do something like this.
*** It appears that the one in FSTAB was the one I needed, so where would the OTHER one be so I can get rid of it? Or at least make it auto mount.
View 12 Replies
View Related
Sep 23, 2009
I am having a Promise TX4650 RAID controller & trying to create a driver floppy for installing the drivers. Also am using RHEL 5, I can create the driver floppy, but when I type "mount /dev/fd0 /media/floppy" I get error: "mount: mount point /media/floppy does not exist".Can I get the files in a format other than the ext2 floppy image, so that we do not need to use a floppy drive?There is a readme file inside the driver archive & you can use that as a reference.
View 2 Replies
View Related
Aug 31, 2010
I am a long time ubuntu user (4.10) and have had a fair bit of experience installing ubuntu and the many mishaps along the way.
So after having no internet for a year I decide to try the new 10.04 flavour by ordering the cd from the site.
Installation went well, no hiccups. But when I restarted the comp it went straight to Xp, so I thought I'll just use the SGD to boot the partion anyway and fix this small problem later.
After SGD confused sda with sdb, I figured out that GRUB2 is now the standard boot loader.
So thats where I am lost, I have searched the forums quickly (25 pages or so..) and realise that I am not going to fix this easily or by trial and error.
here's some info
Ubuntu 10.04 LTS
WinXP SP3
Intel P4 3.0
1.5 GB RAM
[Code]....
View 9 Replies
View Related
Jun 7, 2009
error message:Unable to scan Floppy Drive for media changes Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
View 1 Replies
View Related
Feb 7, 2010
I' ve tried to do a iso multiboot 1gb pen stick with grub2 bootloader. I 've already readed all is it possible finding on the WWW but there are some problems i don't understand how to solve.
This is my sitution:
-koala 32bit installed on my pc with grub2 bootloader
-1gb pendrive parted as follow:
In the first fat16 partition there is installed grub2. On the second ext2 one there are iso files.
This is what i've do to install grub2 on my pen:
So i've created /boot/grub/grub.cfg file with the follow lines:
When i reboot by the pen stick, grub load up to it says me:
It seems not reding /boot/grub/grub.cfg
View 2 Replies
View Related
Mar 7, 2010
I've been using Ubuntu since 7.10 Gutsy Gibbon. I only recently fully switched to Linux OS's, and Ubuntu is now my primary. I currently have 9.10 installed. CURRENTLY I also have Backtrack 4, and Fedora 12 (Ugh!).Previously, I thought something was wrong with my my filesystem in Ubuntu 9.10, and after an upgrade of the linux kernel, I started to get Error: You need to load the Kernel First. That's where my problems started. I had upgraded to 9.10 from 9.04 and I still had Grub Legacy, so I went through hoops to try and get it to work, but eventually everything just kind of broke, and I completely wiped off my partitions on it and started fresh installs of all 3.
And now that the new linux kernel is released, 2.6.31-20 generic (I think... That's what the highest number on a file I can find in /boot is)I went through a few more hoops and ladders and tried to get it to work, but to no avail. I've looked the internet for a solution to this and tried just about everything but there is no unified answer, and I've seen on Launchpad there are alot of bugs that are classified as 'Fixed', but the problem still remains.I took out the 'quiet splash' part in the GRUB2 line for the newest kernel and it didn't do anything. It only changed it to "Error: Couldn't find file".This is the top two kernels (Main and Recovery for the new, and Main and Recovery for the previous working one)
Quote:
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
[code].....
View 9 Replies
View Related
Jun 8, 2010
So I have an MBR that is Grub legacy,(from HardyHeron) and I cannot edit/upgrade this MBR. (I won't get into the reasons, other than I will mention SafeBoot).
I have a new encrypted LucidLynx Linux installation on partition 4 and an unencrypted /boot partition on partition #3.
When I boot up, I get the "Error 15" Grub error, which is expected as Grub legacy is looking for /boot/grub/stage2 or something like that and /boot/grub/stage2 does not exist in my GRUB2 installation in /boot/grub.
I thought if I could make a link from the GRUB2 binary of interest to /boot/grub/stage2, then maybe the GRUB legacy would be tricked into loading the GRUB2 binary.
what is the binary of interest in the GRUB2 installation that is the main binary?
View 9 Replies
View Related
Dec 24, 2010
Very strange Grub2 issue on my Dell Mini 10.
Had Crunchbang Statler on it, and after an update, it would hang at grub, before the grub prompt. ("loading Grub, Welcome to Grub" then blinking cursor, but no prompt or ability to get into rescue)
So I booted into a liveCD, chrooted in, and reinstalled Grub2, purging everything. No dice. Same problem.
So I figured the device maps weren't right, so I pulled off any important files via the live stick, and reinstalled #!. Same problem.
Did a bit of googling, and it seemed like it was most probably not a true Grub2 error, but a bios problem, so I reinstalled XP, flashed to a new bios (A11).
Then reinstalled, this time with Zenwalk (figured it might be a debian thing). Same thing. (note I replaced lilo with Grub2 for puroposes of testing)
View 10 Replies
View Related
Sep 21, 2010
My computer doesn't support booting from a cd or a usb stick. I managed to install ubuntu (10.04) by using the utility program that came with the live cd. With it I was able to boot from cd and use the live cd., there still seems to be some leftover files of windows in the hard drive where I installed ubuntu. So my question is, how can I reinstall ubuntu so that it will format the whole drive. Is there perhaps a similar utility program for ubuntu that lets me boot from a live cd or can I do the reinstallation just using the already installed ubuntu?
View 7 Replies
View Related
May 19, 2011
I've got a Lucid system (normal Ubuntu, not any of the derivative distros) which has been throwing up the following error message this morning when trying to boot:
Code:
error: couldn't read file.
error: you need to load the kernel first.
[code]....
View 9 Replies
View Related
Aug 5, 2011
I'm attempting to triple boot Windows 7, Mac OS X, and Ubuntu 11.04 on non-Mac hardware. Chameleon is my primary bootloader, which is supposed to chainboot into grub2, but all I get when I choose the Linux boot option is a black screen with blinking cursor. If I try to boot Ubuntu while holding shift, I get the word GRUB, followed by a space and a blinking cursor. grub2 is installed to the Ubuntu partition, and attempts to reinstall it there or to the MBR from a LiveCD result in errors. The MBR and GPT partition tables are synchronized. How do I go about making Ubuntu bootable, without breaking my other two operating systems (or at least leaving them recoverable)?
I built a new desktop computer.The goal was to triple boot the system with Windows 7, Mac OS X Snow Leopard, and Ubuntu 11.04. This endeavor has been significantly more complicated than I originally expected, but with the of a forum-goer at InsanelyMac.com, I've managed to get pretty far with a complex installation process. I've attempted to get Ubuntu running using two methods, neither of them achieving what I'm hoping. Both methods follow.
In the first method, I install Mac OS X using a specially designed install CD that boots into the Snow Leopard installation DVD. The disk is partitioned to have a FAT partition, followed by a Mac OS X journaled partition, ending in a second FAT partition. Mac OS is then installed to the second partition. The Windows boot CD is then used to format the first FAT partition as NTFS, which Windows 7 is then installed to.
As I'm sure you know, this installs Windows Boot Manager. Then I boot into OS X using the boot CD mentioned earlier, and install Chameleon, a bootloader specifically designed for Hackintosh systems, and (supposedly) capable of booting into all three operating systems I'm trying to work with. Finally, I divide and reformat the remaining FAT partition into an ext4 partition and a swap partition, and install Ubuntu to that ext4 partition, with the bootloader installed to the same partition. This will break the Windows bootloader, as now the MBR and GPT tables are no longer syncronized. Ubuntu is also unbootable; attempting to chainload into grub2 leaves me at a black screen with a blinking cursor. The former problem is solved by booting into a LiveCD and installing and running gptsync. Windows is now bootable, but Ubuntu remains in 'limbo'.
The second method I attempted is very similar, but deviates in the last few steps. After installing Windows, I instead install Ubuntu 10.04 LTS, as I thought I might have fewer bootloader issues with that distribution (don't ask why; it was a lucky hunch).This breaks Windows Boot Manager, but this time grub2 throws me into the grub> prompt.I can boot into Ubuntu just fine using the set root/linux/initrd/boot commands, but my motherboard's Ethernet port is not detected by the OS, so I can't directly download and run gptsync. Once I do manage to run it, though, Windows is then also repaired.
Unfortunately, since I can't access the Internet, I can't do a distribution upgrade that way. Trying to upgrade from the recent release's LiveCD...well...doesn't upgrade, just overwrites. So I get the same black screen with blinking cursor problem. I've tried reinstalling grub2 through a LiveCD using grub-install both using the --root-directory flag and the chroot method.
System specifications:
Intel Core i7 (LGA1155)
Corsair VENGEANCE 4x4GB DDR3
[code]...
View 3 Replies
View Related
Mar 17, 2010
I'm trying to install Ubuntu Netbook Remix 9.10 on a Compaq Evo N200. The problem is that it doesn't have a CD drive on board, and it only supports booting from USB floppy drives- not USB flash or CD drives. I have access to a flash drive, floppy drive and CD drive, all USB externals. I've tried a couple different floppy boot loaders with little success. I understand that it also supports network boot, so this might be an option. What is the easiest way to get UNR running on this laptop?
View 4 Replies
View Related
Mar 12, 2011
I have several (small) bootable linux distros on USB sticks, and I would like to use them on several computers, some of which do not have USB boot support. Many of these also do not have a CD drive.In order to get around this problem I would like to create a bootable floppy disk that can load the system from the USB stick (similar to http://www.damnsmalllinux.org/wiki/i.../Boot_Floppies). I have found quite a few floppy images on the internet (like the one above), but I haven't yet got one that works and boots the USB sticks that I have (i.e. one that can boot Tiny Core).Is this actually possible (it seems to be, but I haven't got it to work yet) and does anyone know how I can do it?
View 3 Replies
View Related
Jan 5, 2010
I'm running Ubuntu 9.10 and Windows XP on my system. After installing Ubuntu, it boots normally about once, and then the next time I try to boot, I have to wait a few minutes with it saying "GRUB Loading." I have read other threads about this that say that it is clearly a GRUB2 problem, and something about Windows overwriting something with the MBR; although I haven't booted into windows once in the process of installing Ubuntu (multiple times) or afterward. GRUB version 1.97~beta4.
View 10 Replies
View Related
Oct 2, 2009
I was wondering if anyone has a floppy image, or something similar that can help me boot my USB.My plan is to have Fedora LiveUSB on my USB... and whenever I need to help someone, or have to use a computer, I can easily pop in my usb, and run Fedora. One problem I've had is that some of my friends have older pcs, and also some of the computers at college are older.I heard that it is possible to force a usb to boot on a motherboard that doesn't support usb boot. I think it has something to do with installing grub on the floppy, and somehow making it install or run usb drivers. (Not entirely sure)One alternative to this that I came up with was to use one of those business card CD's, but apparently the size is too small(at least in the one's I've seen). Not only that, but I can't find them anywhere.
View 4 Replies
View Related
Mar 22, 2011
I have an old laptop I'd like to try Bodhi linux on from a usb stick. I've got it installed running on a newer laptop so I know the usb install works. I've searched considerably & haven't found the dummy version of how to boot any distro on usb from a floppy. I have used a DSL floppy to boot Damn small on usb. Is there an easy way to boot Bodhi or any other linux distro that is on usb using the same floppy? I type dsl fromusb to get damnsmall to run. Bodhi fromusb doesn't work.
View 1 Replies
View Related
Mar 13, 2010
I have an external 500gb usb drive with a bootable full install of slackware 12.2, and it also contains all the sets, patches, and extras for 12.2 in /usr/src, along with some other non slackware packages, like gparted, and I use it for rescue, backup, installation, etc.I used this disk with no errors, setting up 12.2 on my mother's dell, a pentium 4.However, my mom has an older gateway as well (a pentium 2) that she keeps around because it has M$ Publisher on it, and sometimes a student emails her a Publisher document, and she has to use her old sluggish beast to open it up.
I have not found an open source solution to open Publisher docs in Linux, so I have been trying to follow http://www.virtualbox.org/wiki/Migrate_Windows to migrate the her xp installation on her old box to a vdi to use with virtualbox.My first obstacle is that the cd drive in the old machine is non-functioning. My second obstacle is that her machine dates back to the days before the bios supported booting from usb.
I have never had the time to mess with network booting, and don't know how to set up a bootp server, so sticking with what I know, I thought I could install lilo on a floppy, and have it configured to boot my external usb. Originally, lilo was installed on the mbr of the usb, but for this project, I went ahead, using the pentium 4, and reinstalled the lilo boot loader on a floppy. I did this by mounting my external usb drive (which shows up as /dev/sda) and then binding /sys, /proc, and /dev to it, and chrooting into the external usb install. Then I modified lilo.conf and reran lilo. It worked, and now the external hard drive only boots on the pentium 4 when I have the floppy inserted into /dev/fd0. However, when I plug the external drive into the pentium 2's usb, and insert the floppy and try to boot, it never makes it to the lilo prompt, and just displays 10 lines of L 07 07 07 07 07 07 07 07 07..The boot order is correctly set in bios to try the floppy first. I thought I might have problems with the smp kernel on such an old system, and thought I might have to go back to huge.s, but I'm not even making it to the prompt...
View 4 Replies
View Related
Jan 23, 2009
My goal is to have a dual boot system with Windows and linux. When no floppy is loaded Windows should boot. When a linux boot floppy is loaded linux should boot.Windows (and its boot loader) are on hd0. I installed Fedora 10 to hd1 and had install put the boot loader on that drive. I followed the instructions in http://forums.fedoraforum.org/showthread.php?t=150913 to make a boot floppy. But when I use the boot floppy the system brings up the grub prompt and stops.
View 1 Replies
View Related