Announcement

Collapse
No announcement yet.

recommendations dual boot 1 Primary 1 Extended Partition

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by vinnywright View Post
    look , fstab reads like this
    Code:
    # swap was on /dev/sda1 during installation
    UUID=89534f2e-ad31-4941-87b0-22e9875efac8 none swap sw 0 0
    and the /etc/initramfs-tools/conf.d/resume reads like this
    Code:
    vinny@vinny-HP-G62:~$ cat /etc/initramfs-tools/conf.d/resume
    RESUME=UUID=89534f2e-ad31-4941-87b0-22e9875efac8
    BUT blkid reads as thus
    Code:
    /dev/sda1: UUID="419b2146-8e8a-4d97-90ed-89e519e1dc0d" TYPE="swap"
    Vinny, that's odd. Both fstab and resume show one (identical) UUID, but the output of blkid shows something different. I'm not sure what to make of this.

    What's the output of
    Code:
    ls -l /dev/disk/by-uuid
    
    ls -l /dev/disk/by-partuuid

    Comment


      #17
      Originally posted by SteveRiley View Post
      Vinny, that's odd. Both fstab and resume show one (identical) UUID, but the output of blkid shows something different. I'm not sure what to make of this.

      What's the output of
      Code:
      ls -l /dev/disk/by-uuid
      
      ls -l /dev/disk/by-partuuid
      well what I make of it is when this install was "installed" the UUID of swap was what fstab and resume show,,,,,,,,but now it is different , and the only thing that was done that could possibly have changed it was to install Slackware to /dev/sda6 , I am sure I just pointed it at the existing swap partition but can not remember if it asked to format it or not ,,,,,,would a format of it change the UUID?
      hear is the output of the 2 ls's
      vinny@vinny-HP-G62:~$ ls -l /dev/disk/by-uuid
      total 0
      lrwxrwxrwx 1 root root 10 Mar 13 17:18 419b2146-8e8a-4d97-90ed-89e519e1dc0d -> ../../sda1
      lrwxrwxrwx 1 root root 10 Mar 13 17:18 51916d2f-8366-4c7a-bccf-c40cc9d9b3bc -> ../../sda5
      lrwxrwxrwx 1 root root 10 Mar 13 17:18 686ed85e-a21b-4a72-aa03-5e9b6c7d50b0 -> ../../sda2
      lrwxrwxrwx 1 root root 10 Mar 13 17:18 6d8f8f09-a999-4405-ad9a-e0df9224a3ba -> ../../sda7
      lrwxrwxrwx 1 root root 10 Mar 13 17:18 ae361395-96de-41d9-8425-84ad84a2f965 -> ../../sda6
      lrwxrwxrwx 1 root root 10 Mar 13 17:18 e1f3a7e8-8884-4598-a25c-ecb5056462c9 -> ../../sda3
      and
      vinny@vinny-HP-G62:~$ ls -l /dev/disk/by-partuuid
      ls: cannot access /dev/disk/by-partuuid: No such file or directory
      I have changed the fstab and the resume file to reflect the current UUID of swap,,,, but if I understand you correctly I still knead to run a
      Code:
      sudo update-initramfs -u
      correct ?

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #18
        Yes, change both fstab and resume so that the UUID of the swap partition matches what you see in the output of blkid, and then update your initrd image.

        The fact that you have no /dev/disk/by-partuuid is rather curious. What's the output of
        Code:
        ls -lR /dev/disk

        Comment


          #19
          Originally posted by SteveRiley View Post
          Yes, change both fstab and resume so that the UUID of the swap partition matches what you see in the output of blkid, and then update your initrd image.

          The fact that you have no /dev/disk/by-partuuid is rather curious. What's the output of
          Code:
          ls -lR /dev/disk
          LOL OK you asked for it you got it ,,,,,,,,the output
          vinny@vinny-HP-G62:~$ ls -lR /dev/disk
          /dev/disk:
          total 0
          drwxr-xr-x 2 root root 540 Mar 13 17:17 by-id
          drwxr-xr-x 2 root root 200 Mar 13 17:18 by-path
          drwxr-xr-x 2 root root 160 Mar 13 17:17 by-uuid

          /dev/disk/by-id:
          total 0
          lrwxrwxrwx 1 root root 9 Mar 13 17:18 ata-hp_DVD_A_DS8A5LH_104220150424 -> ../../sr0
          lrwxrwxrwx 1 root root 9 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08 -> ../../sda
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part1 -> ../../sda1
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part2 -> ../../sda2
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part3 -> ../../sda3
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part4 -> ../../sda4
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part5 -> ../../sda5
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part6 -> ../../sda6
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ata-WDC_WD5000BEVT-60A0RT0_WD-WXR1EA0YSR08-part7 -> ../../sda7
          lrwxrwxrwx 1 root root 9 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08 -> ../../sda
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part1 -> ../../sda1
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part2 -> ../../sda2
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part3 -> ../../sda3
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part4 -> ../../sda4
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part5 -> ../../sda5
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part6 -> ../../sda6
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 scsi-SATA_WDC_WD5000BEVT-_WD-WXR1EA0YSR08-part7 -> ../../sda7
          lrwxrwxrwx 1 root root 9 Mar 13 17:18 wwn-0x50014ee600beb71c -> ../../sda
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part1 -> ../../sda1
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part2 -> ../../sda2
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part3 -> ../../sda3
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part4 -> ../../sda4
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part5 -> ../../sda5
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part6 -> ../../sda6
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 wwn-0x50014ee600beb71c-part7 -> ../../sda7

          /dev/disk/by-path:
          total 0
          lrwxrwxrwx 1 root root 9 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part4 -> ../../sda4
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part5 -> ../../sda5
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part6 -> ../../sda6
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 pci-0000:00:1f.2-scsi-0:0:0:0-part7 -> ../../sda7

          /dev/disk/by-uuid:
          total 0
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 419b2146-8e8a-4d97-90ed-89e519e1dc0d -> ../../sda1
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 51916d2f-8366-4c7a-bccf-c40cc9d9b3bc -> ../../sda5
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 686ed85e-a21b-4a72-aa03-5e9b6c7d50b0 -> ../../sda2
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 6d8f8f09-a999-4405-ad9a-e0df9224a3ba -> ../../sda7
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 ae361395-96de-41d9-8425-84ad84a2f965 -> ../../sda6
          lrwxrwxrwx 1 root root 10 Mar 13 17:18 e1f3a7e8-8884-4598-a25c-ecb5056462c9 -> ../../sda3
          vinny@vinny-HP-G62:~$


          VINNY
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #20
            Could it simply be that vinny's swap UUID changed during a re-partition or re-creation and fstab never got updated? This would only lead to swap failing after a delay during boot. Hardly noticeable unless you're right on top of it. A simple swapon -s would verify this.

            Please Read Me

            Comment


              #21
              Originally posted by oshunluvr View Post
              Could it simply be that vinny's swap UUID changed during a re-partition or re-creation and fstab never got updated? This would only lead to swap failing after a delay during boot. Hardly noticeable unless you're right on top of it. A simple swapon -s would verify this.
              like I said , the only thing that may have done anything to it was the installation of slackware a month or 2-3 ago and I beleve I just told it to use it in it's setup program (all text based) it was defenetly NOT repartitioned (by me) but slackware may have recreated it (my theory) any way hear is the swapon -s
              vinny@vinny-HP-G62:~$ swapon -s
              Filename Type Size Used Priority
              /dev/sda1 partition 4096536 0 -1
              however I dont see what that is verifying , in one of the last posts I sead I changed fstab to the current UUID of swap and even before I did swap was being used/listed correctly , pleas extrapolate ?
              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #22
                It looks like it loaded OK to me. I would have thought with your fstab UUID wrong, it wouldn't find the swap partition. <Perplexed>

                Please Read Me

                Comment


                  #23
                  Originally posted by oshunluvr View Post
                  It looks like it loaded OK to me. I would have thought with your fstab UUID wrong, it wouldn't find the swap partition. <Perplexed>
                  <Perplexed> me to ,,,,, do I spell that bad that I am totaly not understood ? I did say "I CHANGED THE FSTAB TO REFLECT THE CURRENT UUID OF THE SWAP PARTITION"
                  but is was loading up ok before I did that .
                  now @oshunluvr are you just scanning the posts or reading them ,,,,,,,,,,

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment


                    #24
                    <sheepishly grinning> Uh, yeah I missed that...

                    ...anyway, yeah if you edited fstab and rebooted it would have worked...duh <slaps forehead>

                    Please Read Me

                    Comment


                      #25
                      Originally posted by oshunluvr View Post
                      <sheepishly grinning> Uh, yeah I missed that...

                      ...anyway, yeah if you edited fstab and rebooted it would have worked...duh <slaps forehead>
                      LOL.......... ........OK then , now we are on the same page

                      VINNY
                      i7 4core HT 8MB L3 2.9GHz
                      16GB RAM
                      Nvidia GTX 860M 4GB RAM 1152 cuda cores

                      Comment


                        #26
                        Originally posted by vinnywright View Post
                        LOL OK you asked for it you got it ,,,,,,,,the output
                        Duh, I forgot. /dev/disk/by-partuuid exists only for GPT disks. Yours are all MBR, it appears. *smacks-head*

                        Comment


                          #27
                          Originally posted by SteveRiley View Post
                          Duh, I forgot. /dev/disk/by-partuuid exists only for GPT disks. Yours are all MBR, it appears. *smacks-head*
                          Aaa yes , well that enplanes that then ,,,,, I thought it looked like a GPT thing what with the "part" part and having read @oshunluvr's excellent GPT write ups :cool:

                          VINNY
                          i7 4core HT 8MB L3 2.9GHz
                          16GB RAM
                          Nvidia GTX 860M 4GB RAM 1152 cuda cores

                          Comment


                            #28
                            Lot of fore-head smacking coming out of this thread...

                            Please Read Me

                            Comment


                              #29
                              Originally posted by oshunluvr View Post
                              Lot of fore-head smacking coming out of this thread...
                              LOL ,,,,, my own included as I should have thought to check the swaps UUID (as we use these now) after the Slackware installation ......come to think of it , I should boot the 12.04 install and check what fstab & resume has to say about it their as well ,,,,,,,,,Duh vinny Duuuuh


                              VINNY
                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X