Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.suse    |    Suse is actually not that bad    |    138,051 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 136,280 of 138,051    |
|    Bit Twister to bad sector    |
|    Re: grub2 & wifi issue    |
|    25 Apr 17 21:11:46    |
   
   From: BitTwister@mouse-potato.com   
      
   On Tue, 25 Apr 2017 15:57:33 -0400, bad sector wrote:   
   > On 04/25/2017 03:22 PM, Bit Twister wrote:   
   >> On Tue, 25 Apr 2017 13:01:47 -0400, bad sector wrote:   
   >>   
   >>> . Bottom   
   >>> line being that I wanna see the order of partitions followed by a handle   
   >>   
   >> I have not been following this thread, but do you know if your   
   >> partition numbers are in numerical order?   
   >>   
   >   
   > I cut my disks like so   
   >   
   > Device Boot Start End Sectors Size   
   > /dev/sda1 * 2048 104859647 104857600 50G   
   > /dev/sda2 104859648 209717247 104857600 50G   
   > /dev/sda3 209717248 314574847 104857600 50G   
   > /dev/sda4 314576894 3900000001 3585423108 1.7T   
   > /dev/sda5 314576896 322965503 8388608 4G   
   > /dev/sda6 322967552 427825151 104857600 50G   
   > /dev/sda7 427827200 532684799 104857600 50G   
   > /dev/sda8 532686848 637544447 104857600 50G   
   > /dev/sda9 637546496 742404095 104857600 50G   
   > /dev/sda10 742406144 847263743 104857600 50G   
   > /dev/sda11 847265792 952123391 104857600 50G   
   > /dev/sda12 952125440 1056983039 104857600 50G   
   > /dev/sda13 1056985088 1161842687 104857600 50G   
   > /dev/sda14 1161844736 3900000001 2738155266 1.3T   
   >   
   > nice and linear because I'm easy to confuse   
      
   Ok, just wondering if maybe you had deleted/created partitions in the   
   middle somewhere which gets them out of order.   
      
   >   
   >   
   > Except for transient turbulence like these   
   > days the setup is pretty stable and I know   
   > by heart what's where so I only need the   
   > partition number in the menu. The OS name   
   > helps because half the time I have no idea   
   > what version of XYZ may be aboard.   
      
   I hear that. That is why I use media and partition labels on all my   
   partitions. Makes my fstab/grub2/backup/restore contents/scripts a   
   bit more straight forward.   
      
   Having vmlinuz and initrd.img always pointing to latest kernel install   
   does not hurt either when rolling your own grub2 menu.   
      
   examples   
   $ grep /mg /etc/fstab   
   LABEL=mga6 /mga6 ext4 users,noauto,relatime,acl 1 2   
   LABEL=mga5 /mga5 ext4 users,noauto,relatime,acl 1 2   
   LABEL=mga4 /mga4 ext4 users,noauto,relatime,acl 1 2   
      
   $ gdisk -l /dev/sda | grep mga   
    1 2048 83888127 40.0 GiB 8300 mga6   
    2 83888128 171864063 42.0 GiB 8300 mga4   
    3 171864064 257384447 40.8 GiB 8300 mga5   
      
      
   Snippet from grub.cfg   
      
   menuentry "mga4" {   
    insmod regexp   
    insmod part_gpt   
    insmod gzio   
    insmod ext2   
    search --no-floppy --label --set=root mga4   
    linux /boot/vmlinuz-desktop root=LABEL=mga4 noiswmd ipv6.disable=1   
   audit=0 vga=795   
    initrd /boot/initrd-desktop.img   
   }   
   menuentry "mga5" {   
    insmod regexp   
    insmod part_gpt   
    insmod gzio   
    insmod ext2   
    search --no-floppy --label --set=root mga5   
    linux /boot/vmlinuz-desktop root=LABEL=mga5 noiswmd nokmsboot   
   ipv6.disable=1 audit=0 vga=795   
    initrd /boot/initrd-desktop.img   
   }   
   menuentry "mga6" {   
    insmod regexp   
    insmod part_gpt   
    insmod gzio   
    insmod ext2   
    search --no-floppy --label --set=root mga6   
    linux /boot/vmlinuz-desktop root=LABEL=mga6 noiswmd ipv6.disable=1   
   audit=0 vga=795   
    initrd /boot/initrd-desktop.img   
   }   
   ### END /etc/grub.d/10a_label_xx__grub ###   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca