LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   initramfs unable to find a medium containing a live file system (https://www.linuxquestions.org/questions/slackware-14/initramfs-unable-to-find-a-medium-containing-a-live-file-system-4175595144/)

PROBLEMCHYLD 12-09-2016 03:51 PM

initramfs unable to find a medium containing a live file system
 
I'm trying to install gparted live hdd and I keep getting the error initramfs unable to find a medium containing a live file system. I have all of the gparted files on its own partition /sda2. How do I fix this?

Didier Spaier 12-09-2016 04:11 PM

Please explain the steps you have taken for the installation, including the command you typed.

Without that information it's hard to help you.

Out of curiosity, why install gparted on a live hdd instead of an USB stick or a CD?

PROBLEMCHYLD 12-09-2016 04:49 PM

http://gparted.org/livehd.php#live-hd-lilo I followed these instructions.

SCerovec 12-09-2016 05:04 PM

Quote:

Originally Posted by PROBLEMCHYLD (Post 5640083)
http://gparted.org/livehd.php#live-hd-lilo I followed these instructions.

And, how is this related to Slackware?

PROBLEMCHYLD 12-09-2016 05:21 PM

Because Slackware is on the sda1 partition.

Didier Spaier 12-09-2016 05:49 PM

Here I have another error message: "mounting aufs on /root failed". I don't knw why.

But other than that my guess is you didn't follow the instructions closely enough.

In your /etc/lilo.conf, in the line beginning with "append=", do you have "bootfrom=dev/sda2" ?

Also it is useless to have a partition dedicated to gparted-live I think.

Anyway I will repeat my question: why not make a live USB or CD as most people do?

PROBLEMCHYLD 12-09-2016 06:01 PM

Yes, I do have it on the append. I want it on a partition for maintenance reasons. CDs tend to get scratch and are iffy sometimes, I have a couple USB flash drives but they all have important documents on them. Wasn't going to risk it.

Hangaber 12-09-2016 06:02 PM

What exactly did you add to your lilo.conf?
Do the dir names in the lilo section match up with the path/name of the "gparted-live" directory?

(What Didier said... root = ___ , and the append section bootfrom=, live-media-path= ... check these.)

I will sometimes use systemrescuecd (which has gparted), with grub2 on remote systems where I can't physically put in a CD/DVD/USB and then tweak the default boot entry. However, I have to put the small iso image on the /boot partition that grub2 config lives in. The persistent files can be elsewhere though.

PROBLEMCHYLD 12-09-2016 06:08 PM

Code:

  image  = /gparted-live/live/vmlinuz
    root  = /dev/sda2  # make sure this matches the bootfrom= below ...
    label  = gparted
    append = "boot=live config union=aufs noswap noprompt ip=frommedia live-media-path=/gparted-live/live bootfrom=/dev/sda2 toram=filesystem.squashfs" vga=788
    initrd = /gparted-live/live/initrd.img

The exact same from the site except mine is sda2.

allend 12-09-2016 07:00 PM

Looks like a problem when the original forum post by comet.berkeley was transferred to the GParted site.
Code:

image  = /gparted-live/live/vmlinuz
    root  = /dev/sda2  # make sure this matches the bootfrom= below ...
    label  = gparted
    append = "boot=live config union=aufs noswap noprompt ip=frommedia live-media-path=/gparted-live/live bootfrom=/dev/sda2 toram=filesystem.squashfs"
    vga=788
    initrd = /gparted-live/live/initrd.img


PROBLEMCHYLD 12-10-2016 08:56 AM

I'm getting the aufs error as well. The other error is gone now. Im going to assume I need to install aufs on the root drive?

allend 12-10-2016 09:34 AM

Looking at http://gparted.org/livepxe.php suggests that GParted live version <= 0.22.0-1 uses 'union=aufs', but later versions use 'union=overlay'.

PS - Nice one Alien Bob! https://en.wikipedia.org/wiki/OverlayFS

Didier Spaier 12-10-2016 10:52 AM

With 'union=overlay' I get the message initially posted.

PROBLEMCHYLD 12-10-2016 11:46 AM

Using the overlay command it booted right up. Thanks for all the help.

SCerovec 12-10-2016 04:27 PM

Quote:

Originally Posted by Didier Spaier (Post 5640316)
With 'union=overlay' I get the message initially posted.

gparted version?


All times are GMT -5. The time now is 02:12 AM.