LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2019, 02:01 PM   #1
upsilon
LQ Newbie
 
Registered: May 2019
Posts: 2

Rep: Reputation: Disabled
Question Trying to set up Alpine Linux - Mounting boot media failed.


Hello,

I'm trying to set up Alpine Linux for diskless usage. I put the ISO files (3.9.4) on a flash drive with Rufus and when it booted up I got

Code:
SYSLINUX 6.04 EDD 6.04-pre1 Copyright (C) 1994-2015 H. Peter Anvin et al
boot:
Mounting boot media failed.
initramfs emergency recovery shell launched. Type 'exit' to continue boot
sh: can't access tty; job control turned off
/ #
Alpine Linux Wiki tells me to replace the device name in some line, but I don't see such a line in my syslinux.cfg.

Edit:
It tells me to add usbdisk in this line:
Code:
append initrd=/boot/grsec.gz alpine_dev=usbdisk:vfat modules=loop,cramfs,sd-mod,usb-storage quiet
but I only have
Code:
APPEND /boot/syslinux/
in my syslinux.cfg.

Can somebody help me here?

Last edited by upsilon; 05-20-2019 at 02:14 PM.
 
Old 05-21-2019, 03:47 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,532

Rep: Reputation: Disabled
I'd try copying the append line that Alpine is telling you it needs to boot from USB to your syslinux.cfg file.
 
1 members found this post helpful.
Old 05-21-2019, 01:06 PM   #3
upsilon
LQ Newbie
 
Registered: May 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks, I did try that and it manages to boot, but I first get


Code:
Failed to chdir to initrd=/boot/grsec.gz
After that it boots normally. I'm not really sure what initrd=/boot/grsec.gz does in the cfg file.
 
  


Reply



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
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Newbie 2 11-01-2018 03:18 PM
CUPS (ALPINE) - CUPS claiming print job completed despite printing nothing, How to debug the issue? (network printer, Alpine, Linux, Docker) vinnu543 Linux - Networking 1 11-01-2018 03:13 AM
slackware64 13.37 alpine.SlackBuild fails when trying to rebuild package haxwithaxe Slackware 21 10-04-2011 03:44 PM
Media, media, and oh yeah......media. Morbid SUSE / openSUSE 2 03-11-2007 08:50 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 PM.

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