12-01-2010
Quote:
Originally Posted by
al0x
Really?
It worked before.. xD
It's just a live usb and it works if I just plug it into my computer and boot it via BIOS
Then you need to take a closer look at the USB stick's boot process. Just kexec-ing a kernel and mounting sdb1 might not be the way to go. It may be mounting some image inside the DOS filesystem or something. Or it may be running purely from some image in RAM for all I know. I really can't tell what it's doing from here but it's sounding weirder by the second.
I'm not convinced your device files in the initrd are even right. It's quite possible for the device
file to exist but the device not to exist, which would cause 'invalid argument' or 'no such device'. Look under /sys/class/block/ and post what's there.
9 More Discussions You Might Find Interesting
1. Linux
Hi all
I have a usb external drive with two partitions sdb1 ntfs and sdb2 ext3 with label Linux
I copied a knoppix live distro in the second partition, then I installed grub on the drive. Now in the directory /media/sdb2/boot/grub i have the file device.map with the following content:
(hd0) ... (4 Replies)
Discussion started by: guast
4 Replies
2. UNIX for Dummies Questions & Answers
Alright. Here we go...
The other day, I was referred to this neat little command-line Unix simulator called Cygwin. To put it lightly, I fell in love. I found Knoppix, and from what I can tell, it's a viable OS once I strip off the KDE desktop environment to make it 'old-school'. I'm... (2 Replies)
Discussion started by: dev_squid
2 Replies
3. UNIX for Dummies Questions & Answers
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies
4. Red Hat
im using Dell Inspiron with windows 7 as operating system.....in my hard drive there is some 34 gb unpartitioned space and now i want to install fedora 13 into it, after installation it should be dual boot.
problem here is...
i have the fedora 13 image file ie fedora13-i386-DVD.iso file.
... (13 Replies)
Discussion started by: karthik437
13 Replies
5. UNIX for Dummies Questions & Answers
I have 2 computers, from now on i shall call these computers A and B.
Made a live linux distro (bodhi) on A which has 1GB internal memory , because windows is unstable on B, which has 512MB internal memory.
I mean with memory the internal memory of the computer, not the memory of the usb... (0 Replies)
Discussion started by: anno
0 Replies
6. BSD
Hello. I'm going to make freebsd live usb based on FreeBSD-8.3-RELEASE-i386-livefs.iso. The iso is 257 Megabytes, but after i copy its content to usb drive its volume increases to 971 Megabytes. I tried different methods of copying (tar,cp,cpio) but with the same result. Could anyone help? (0 Replies)
Discussion started by: urello
0 Replies
7. Solaris
I am trying to create a live image of solaris 11.1.
I have used #pkg image-update to upgrade from 11 to 11.1 already. (since only 11.1 can make images of 11.1 due to using new grub)
then from within 11.1 I used pkg install install distribution-constructor
to get latest usbcopy that should be... (1 Reply)
Discussion started by: taltamir
1 Replies
8. Solaris
Hello All,
I am attempting to boot and install Solaris 11 via live USB on a HP DL580 Gen9 Server.
Unfortunately, when I do this it boots into System Maintenance Mode.
The attachment (Pic1) shows what I am seeing via the console.
The BIOS is in UEFI boot. Does not work on legacy mode as I... (15 Replies)
Discussion started by: Kerbi
15 Replies
9. What is on Your Mind?
Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates
In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates"
The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
LEARN ABOUT CENTOS
grub2-bios-setup
GRUB-BIOS-SETUP(3) Library Functions Manual GRUB-BIOS-SETUP(3)
NAME
grub-bios-setup -- Set up images to boot from a device.
SYNOPSIS
grub-bios-setup [-a | --allow-floppy] [-b | --boot-image=FILE]
[-c | --core-image=FILE] [-d | --directory=DIR]
[-f | --force] [-m | --device-map=FILE]
[-s | --skip-fs-probe] [-v | --verbose] DEVICE
DESCRIPTION
You should not normally run this program directly. Use grub-install instead.
OPTIONS
--allow-floppy
Make the device also bootable as a floppy. This option is the default for /dev/fdX devices. Some BIOSes will not boot images cre-
ated with this option.
--boot-image=FILE
Use FILE as the boot image. The default value is boot.img.
--core-image=FILE
Use FILE as ther core image. The default value is core.img.
--directory=DIR
Use GRUB files in the directory DIR. The default value is /boot/grub.
--force
Install even if problems are detected.
--device-map=FILE
Use FILE as the device map. The default value is /boot/grub/device.map .
--skip-fs-probe
Do not probe DEVICE for filesystems.
--verbose
Print verbose messages.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-BIOS-SETUP(3)