Kexec with Live USB/CD


 
Thread Tools Search this Thread
Operating Systems Linux Kexec with Live USB/CD
# 15  
Old 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 Smilie
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.
# 16  
Old 12-01-2010
Good to know!
Would changing the filesystem change anything? It doesn't matter which I'm using I just had my Stick formatted in FAT32 and leaved it like that...
As said before I will try your suggestions friday, I don't have access to the system until then, sorry! Smilie
# 17  
Old 12-01-2010
Quote:
Originally Posted by al0x
Would changing the filesystem change anything?
Depends entirely on what it's doing. But it doesn't sound like it's booting the normal linux way, there'd be trickery necessary to get a bootable Linux system out of a FAT32 partition.

What files are inside /dev/sdb1 ? I suspect there's a clutter of small inscrutiable files (bootloader stuff) and one great big file(disk image).

When the initrd crashes again, try cat /proc/filesystems to see what partition types your kernel really supports. Also try just running blkid to see what disks it thinks are really disks.
This User Gave Thanks to Corona688 For This Post:
# 18  
Old 12-02-2010
blkid says my stick is /dev/sdb1 and his fs is vfat
/proc/filesystems doesn't have vfat...
Reason enough to try it again with ext3^^
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates

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

2. Solaris

Solaris 11 install via live usb

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

3. Solaris

Usbcopy fails with the error message sol-11_1-live-x86.usb is not a multiple of 512

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

4. BSD

Freebsd live usb

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

5. UNIX for Dummies Questions & Answers

kcore and a live persistent linux usb distro

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. Red Hat

How to install fedora 13 from a usb media....it should not like 'live'?

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

7. UNIX for Dummies Questions & Answers

USB-USB cable between linux and windows computers

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

8. UNIX for Dummies Questions & Answers

From Knoppix Live-USB to Old-school CLI Debian Linux.

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

9. Linux

Live Knoppix on usb sdb2 kernel not found

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
Login or Register to Ask a Question