Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235925

Re: A Grub Boot Question about initrd

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject Re: A Grub Boot Question about initrd
Date 2021-06-07 04:40 +0200
Message-ID <Cndlf-7vE-1@gated-at.bofh.it> (permalink)
References <CmIAN-62P-1@gated-at.bofh.it> <CmYYW-7zu-1@gated-at.bofh.it> <Cn5QJ-35U-1@gated-at.bofh.it> <Cn7IR-4b5-1@gated-at.bofh.it> <Cn8Yi-4OD-5@gated-at.bofh.it>
Organization less than infinite

Show all headers | View raw


Martin McCormick composed on 2021-06-06 16:59 (UTC-0500):
...
> Swap is the last partition.

> Disk /dev/sde:
										
This is a big lurking booby trap that could have been the problem both last time
and this time. It's one of the reasons why installation systems and Grub switched
from using device names to using UUIDs: inconsistent and/or unpredicable device
enumeration.

Is this a PC with both PATA and SATA controllers? These old PCs can compound the
issue.

Different kernel, disk controller, USB controller and BIOS combinations can cause
e.g. an SATA or PATA disk sda to become sde, or sdb become sda, IOW, device names
that don't persist. UUIDs are supposed to prevent inconsistent device names from
being a problem, but in a rescue environment, it can muddy the waters, or backfire.

> 29.8 GiB, 32017047552 bytes, 62533296 sectors
> Disk model: 600             
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: dos
> Disk identifier: 0x00000080

> Device     Boot    Start      End  Sectors  Size Id Type
> /dev/sde1           2048 59314876 59312829 28.3G 83 Linux
> /dev/sde2       59314877 62533295  3218419  1.5G  5 Extended
> /dev/sde5       59316925 62533295  3216371  1.5G 82 Linux swap / Solaris
										
Is this 32GB (29.8GiB) sde disk in fact the disk in the problem PC, and not a USB
device?

I still think yours is fixable most easily by using volume labels. They're easier
on human brains, yet can be functionally as unique as needs be. Post /etc/fstab
from this disk, and blkid output, the first complete grub.cfg stanza, and
/etc/default/grub to get started. If that 28G partition that is shows above as
sde1 doesn't have a label, give it one with e2label or tune2fs.
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-05 19:50 +0200
  Re: A Grub Boot Question about initrd deloptes <deloptes@gmail.com> - 2021-06-05 20:10 +0200
  Re: A Grub Boot Question about initrd Reco <recoverym4n@enotuniq.net> - 2021-06-05 20:30 +0200
    Re: A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-05 21:30 +0200
  Re: A Grub Boot Question about initrd Felix Miata <mrmazda@earthlink.net> - 2021-06-05 21:30 +0200
    Re: A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-05 23:30 +0200
      Re: A Grub Boot Question about initrd Greg Wooledge <greg@wooledge.org> - 2021-06-06 01:20 +0200
      Re: A Grub Boot Question about initrd Felix Miata <mrmazda@earthlink.net> - 2021-06-06 01:50 +0200
      Re: A Grub Boot Question about initrd Cindy Sue Causey <butterflybytes@gmail.com> - 2021-06-06 02:20 +0200
        Re: A Grub Boot Question about initrd Gene Heskett <gheskett@shentel.net> - 2021-06-06 04:30 +0200
        Re: A Grub Boot Question about initrd "Andrew M.A. Cater" <amacater@einval.com> - 2021-06-06 14:30 +0200
  Re: A Grub Boot Question about initrd Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-06 13:20 +0200
    Re: A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-06 20:40 +0200
      Re: A Grub Boot Question about initrd Felix Miata <mrmazda@earthlink.net> - 2021-06-06 22:40 +0200
        Re: A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-07 00:00 +0200
          Re: A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-07 03:10 +0200
          Re: A Grub Boot Question about initrd Felix Miata <mrmazda@earthlink.net> - 2021-06-07 04:40 +0200
            Re: A Grub Boot Question about initrd "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-07 14:20 +0200
            Grub Success at Last "Martin McCormick" <martin.m@suddenlink.net> - 2021-06-09 00:20 +0200
              Re: Grub Success at Last, but way offtopic Gene Heskett <gheskett@shentel.net> - 2021-06-09 01:00 +0200
    Re: A Grub Boot Question about initrd David Wright <deblis@lionunicorn.co.uk> - 2021-06-07 20:40 +0200

csiph-web