LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-09-2016, 03:51 PM   #1
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
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?
 
Old 12-09-2016, 04:11 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
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?
 
Old 12-09-2016, 04:49 PM   #3
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
http://gparted.org/livehd.php#live-hd-lilo I followed these instructions.

Last edited by PROBLEMCHYLD; 12-09-2016 at 04:54 PM.
 
Old 12-09-2016, 05:04 PM   #4
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,470
Blog Entries: 2

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
Question

Quote:
Originally Posted by PROBLEMCHYLD View Post
http://gparted.org/livehd.php#live-hd-lilo I followed these instructions.
And, how is this related to Slackware?
 
Old 12-09-2016, 05:21 PM   #5
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Because Slackware is on the sda1 partition.
 
Old 12-09-2016, 05:49 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
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?
 
Old 12-09-2016, 06:01 PM   #7
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
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.

Last edited by PROBLEMCHYLD; 12-09-2016 at 06:03 PM.
 
Old 12-09-2016, 06:02 PM   #8
Hangaber
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware
Posts: 163

Rep: Reputation: 51
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.
 
1 members found this post helpful.
Old 12-09-2016, 06:08 PM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
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.
 
Old 12-09-2016, 07:00 PM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
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
 
2 members found this post helpful.
Old 12-10-2016, 08:56 AM   #11
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
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?
 
Old 12-10-2016, 09:34 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
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
 
1 members found this post helpful.
Old 12-10-2016, 10:52 AM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
With 'union=overlay' I get the message initially posted.
 
Old 12-10-2016, 11:46 AM   #14
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Original Poster
Rep: Reputation: Disabled
Using the overlay command it booted right up. Thanks for all the help.
 
Old 12-10-2016, 04:27 PM   #15
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,470
Blog Entries: 2

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
Quote:
Originally Posted by Didier Spaier View Post
With 'union=overlay' I get the message initially posted.
gparted version?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(initramfs) unable to find medium containing a live file system h4k33m Linux - Hardware 2 12-28-2011 10:54 PM
Distro on USB Flash using YUMI getting no medium found/...no live file system... RobWatson Linux - Newbie 2 11-18-2011 04:18 PM
Kubuntu 10.10 live won't boot "unable to find a medium containing a live file system" mogplus8 Linux - Newbie 6 10-07-2010 01:41 AM
"Unable to find medium with live File System" error in Ubuntu Installation. subashk80 Linux - Newbie 2 12-01-2009 11:49 PM
Live Cd: Can't find Knoppix file system linuxman007 Debian 2 01-19-2007 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration