[PLUG] Slackware -- programs missing

Dick Steffens dick at dicksteffens.com
Fri Nov 23 23:26:50 UTC 2018


On 11/23/18 2:44 PM, Rich Shepard wrote:
> On Fri, 23 Nov 2018, Dick Steffens wrote:
>
>> I can reboot using the USB stick, and with that I can look at the 
>> files on
>> the hard drive. I checked /etc/inittab and could see my earlier edit, 
>> so I
>> know I'm really looking at the hard drive. It does show:
>>
>> # Default runlevel. (Do not set to 0 or 6)
>> id:4:initdefault:
>>
>> However, I don't know what to look for to solve the panic problem.
>
> Dick,
>
>   The kernel might be looking at the wrong partition. Here's a fairly 
> recent
> thread on LQ that has a step-by-step check of /etc/fstab:
> <https://tinyurl.com/yam94rro>.

fstab shows:

/dev/sda2    /    ext4    defaults    1    1

blkid shows:

/dev/sda2: UUID="2ee0533f-3f48-4114-8d5c-1fd4758a72ed" TYPE="ext4" 
PARTUUID="50cca100-02"

lilo.conf shows:

   boot = /dev/sda

<...>

image = /boot/vmlinuz
   root = /dev/sda2

cfdisk shows:

Device            Boot        Start                End     Sectors    
         Size            ID Type
/dev/sda1                        2048               16779263 16777216   
      8G             82 Linux swap
/dev/sda2          *            16779264        500118191    483333 
9828    230.5 G     83    Linux

>   I'm assuming your laptop uses the DOS/MBR partition type and in 
> /etc/fstab
> /dev/sda1 is /, /dev/sda2 is /boot, /dev/sda3 is swap, and so on.

In fstab, /dev/sda1 is not listed. It is the swap partition.
/dev/sda2 is listed with a mount point of / and a file system type of ext4.



-- 
Regards,

Dick Steffens



More information about the PLUG mailing list