LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 10-04-2021, 03:35 AM   #1
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
system-rescuecd fails to find the root filesystem


I couldn't find a forum dedicated to system-rescuecd.
As it is based on arch, I thought I could post here.
I already had an external USB hard drive (syslinux) bootable.
I installed some of the files that I extracted from
systemrescue-8.05-amd64.iso to it.
Code:
#ls /mnt/sdb1/sysresccd
VERSION  pkglist.x86_64.txt  x86_64
/mnt/sdb1/boot contains, among other files,
amd_ucode.*, intel_ucode.* and my syslinux menu (main.cfg)
It also contains a subfolder sysrc with 2 files:
Code:
#ls /mnt/sdb1/boot/sysrc
sysresccd.img  vmlinuz
I added this entry to the menu main.cfg
Code:
label sysrc
menu label SystemRescueCD 8.05
kernel /boot/sysrc/vmlinuz
append initrd=/boot/intel_ucode.img,/boot/sysrc/sysresccd.img \
 archisobasedir=sysresccd archisolabel=RESCUE805 copytoram
I tried to boot from that usb drive.
But systemrescue couldn't find the root filesystem.
I got this error message
Code:
ERROR: /dev/disk/by-label' device did not show up after 30 seconds...
And yet, in the console I was left with, this device did show up
when I run
Code:
# ls /dev/disk/by-label
Qubes-83.2-x86_64 RESCUE805
and I could mount it and see its contents.
30 seconds is a pretty long delay. Should I try to increase it (60 seconds) or is there anything else I should do in order for the
root filesystem to become visible?
 
Old 10-04-2021, 10:34 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I do not use syslinux but your dir appears to be wrong.

You appear to have /boot/something but its documents say its to be /sysresccd/boot/something

https://www.system-rescue.org/manual...e_on_the_disk/

so that is likely to be reason why it can not find its files

ls /mnt/sdb1/boot/sysrc is not the same as ls /mnt/sdb1/sysrc/boot
 
Old 10-05-2021, 01:01 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,375

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
post the output of
Code:
lsblk -f
with the usb inserted.
 
Old 10-06-2021, 02:27 AM   #4
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by colorpurple21859 View Post
post the output of
Code:
lsblk -f
with the usb inserted.
I replaced the 8.04 version by the 8.05 and edited accordingly the boot menu.
Here's the output of
Code:
lsblk -f
Code:
NAME          FSTYPE                    LABEL             UUID
sda
sdb           iso9660 Joliet Extension  Qubes83-2-x86_64  2016-09-20-10-42-46_00
-sdb1         vfat                      RESCUE805         30AB-49CB
|-nvme0n1p1
|-nvme0n1p2
|-nvme0n1p3
|-nvme0n1p4
In the boot message I noticed it tries to
Code:
mounting /dev/disk/by-label/ to /run/archiso/bootmnt
But I am confused here. It should either be
Code:
/dev/disk/by-label/Qubes83-2-x86_64
or
Code:
/dev/disk/by-label/RESCUE05
I did mount them manually and I could see their contents.
Qubes is read-only.
 
Old 10-06-2021, 05:30 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,375

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Not sure, it may have something to do with sdb being iso filesystem, which is usually considered read-only, instead of the standard dos partition table.
 
Old 10-23-2021, 03:08 AM   #6
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
[code]
dd if=systemrescue-8.05-amd64.iso of=/dev/sdb
[code]
on an empty flashdrive.

The partitioning is weird: two partitions overlap each other
Code:
Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *        0 1542143 1542144  753M  0 Empty
/dev/sdb2         236    3115    2880  1.4M ef EFI (FAT-12/16/32)
I works ok. Problem is, it's write-only.
I tried a manual install, erasing everything then
1. create a new partition table (dos-type)
2. create a 4G vfat partition with flags boo,lba, label RESCUE805
3. create a second small vfat partition with esp flag
4. copied the contents of the iso to sdb1
I tried a hack: copying the first 446 bytes of the iso and write them
to /dev/sdb
When I booted on it, I got something on the screen, then
I got an old BIOS boot menu
 
  


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
Resized Filesystems & LV's via RescueCD Can't Boot OS SaveVM Linux - Virtualization and Cloud 1 05-15-2012 11:37 AM
LXer: Fedora rescuecd vs. Debian netinst LXer Syndicated Linux News 0 05-09-2008 09:50 AM
Create a RescueCD for your Slackware installation! perry Slackware - Installation 6 09-22-2007 08:42 AM
partitioning, RescueCD, SATA harddisk moonmoth Linux - Newbie 1 07-27-2005 08:37 PM
Using RescueCD to Transfer Data... BS Hall Linux - Newbie 2 07-18-2005 03:26 PM

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

All times are GMT -5. The time now is 12:33 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