Announcement

Collapse
No announcement yet.

Decreasing windows partition's size and increasing kubuntu partition's size

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

    sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
    @ mr_raider ... oh, now, I wonder what you are up to, sneaky fellow !!!

    Of course, we all can get almost anything working, and we have here, but, many Internet articles will certainly caution you about this UEFI thing and dual booting and ESPECIALLY about dual booting with Windows. One I like to read is AdamW:

    Recommendations

    The following are AdamW’s General Recommendations On Managing System Boot, offered with absolutely no guarantees of accuracy, purity or safety.

    If you can possibly manage it, have one OS per computer. If you need more than one OS, buy more computers ... Everything will be nice and easy and work. You will whistle as you work, and be kind to children and small animals. All will be sweetness and light. Really, do this.

    If you absolutely must have more than one OS per computer, at least have one OS per disk ...

    If you absolutely insist on having more than one OS per disk, understand everything written on this page, understand that you are making your life much more painful than it needs to be, lay in good stocks of painkillers and gin, and don’t go yelling at your OS vendor, whatever breaks. Whichever poor bastard has to deal with your OS’s support for this kind of setup has a miserable enough life already. And for the love of cookies, don’t mix UEFI-native and BIOS-compatible OS installations, you have enough pain to deal with already ...
    and so on, like that.

    https://www.happyassassin.net/2014/0...lly-work-then/
    Last edited by Qqmike; Feb 09, 2018, 09:42 AM.
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment


      Thank you for your answers!

      @Qqmike
      Thank you for the links, I will look at it.

      @mr_raider
      Here is the output:

      Code:
      1+0 records in
      1+0 records out
      512 bytes copied, 2.7927e-05 s, 18.3 MB/s
      00000000  eb 63 90 00 00 00 00 00  00 00 00 00 00 00 00 00  |.c...|
      00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |...|
      *
      00000050  00 00 00 00 00 00 00 00  00 00 00 80 c0 b4 28 23  |...(#|
      00000060  00 00 00 00 ff fa 90 90  f6 c2 80 74 05 f6 c2 70  |...t...p|
      00000070  74 02 b2 80 ea 79 7c 00  00 31 c0 8e d8 8e d0 bc  |t...y|..1...|
      00000080  00 20 fb a0 64 7c 3c ff  74 02 88 c2 52 bb 17 04  |. ..d|<.t...R...|
      00000090  f6 07 03 74 06 be 88 7d  e8 17 01 be 05 7c b4 41  |...t...}...|.A|
      000000a0  bb aa 55 cd 13 5a 52 72  3d 81 fb 55 aa 75 37 83  |..U..ZRr=..U.u7.|
      000000b0  e1 01 74 32 31 c0 89 44  04 40 88 44 ff 89 44 02  |..t21..D.@.D..D.|
      000000c0  c7 04 10 00 66 8b 1e 5c  7c 66 89 5c 08 66 8b 1e  |...f..\|f.\.f..|
      000000d0  60 7c 66 89 5c 0c c7 44  06 00 70 b4 42 cd 13 72  |`|f.\..D..p.B..r|
      000000e0  05 bb 00 70 eb 76 b4 08  cd 13 73 0d 5a 84 d2 0f  |...p.v...s.Z...|
      000000f0  83 d0 00 be 93 7d e9 82  00 66 0f b6 c6 88 64 ff  |...}...f...d.|
      00000100  40 66 89 44 04 0f b6 d1  c1 e2 02 88 e8 88 f4 40  |@f.D...@|
      00000110  89 44 08 0f b6 c2 c0 e8  02 66 89 04 66 a1 60 7c  |.D...f..f.`||
      00000120  66 09 c0 75 4e 66 a1 5c  7c 66 31 d2 66 f7 34 88  |f..uNf.\|f1.f.4.|
      00000130  d1 31 d2 66 f7 74 04 3b  44 08 7d 37 fe c1 88 c5  |.1.f.t.;D.}7...|
      00000140  30 c0 c1 e8 02 08 c1 88  d0 5a 88 c6 bb 00 70 8e  |0...Z...p.|
      00000150  c3 31 db b8 01 02 cd 13  72 1e 8c c3 60 1e b9 00  |.1...r...`...|
      00000160  01 8e db 31 f6 bf 00 80  8e c6 fc f3 a5 1f 61 ff  |...1...a.|
      00000170  26 5a 7c be 8e 7d eb 03  be 9d 7d e8 34 00 be a2  |&Z|..}...}.4...|
      00000180  7d e8 2e 00 cd 18 eb fe  47 52 55 42 20 00 47 65  |}...GRUB .Ge|
      00000190  6f 6d 00 48 61 72 64 20  44 69 73 6b 00 52 65 61  |om.Hard Disk.Rea|
      000001a0  64 00 20 45 72 72 6f 72  0d 0a 00 bb 01 00 b4 0e  |d. Error...|
      000001b0  cd 10 ac 3c 00 75 f4 c3  75 e8 85 3d 00 00 00 00  |...<.u..u..=...|
      000001c0  01 00 ee fe ff ff 01 00  00 00 af 12 9e 3b 00 00  |...;..|
      000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |...|
      *
      000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |...U.|
      00000200

      Comment


        (Looks like your suspicion is right, mr_raider ... re his MBR.)
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          Now you got me curious!

          Could someone tell me what these suspicions are about?

          Comment


            Originally posted by Robert24 View Post
            Thank you for your answers!

            @Qqmike
            Thank you for the links, I will look at it.

            @mr_raider
            Here is the output:
            for your information:

            you tried to install linux at least once in MBR mode. I don't even want to know how the installer allowed that to happen, since installing in legacy mode to a GPT drive requires what's called a "bios_grub" partition. My guess is that the installer said eff it and tried to shoehorn grub into the first 1MB of your drive with no warning. That's damn near close to assault if you ask me.

            What you need to know: if you ever allow your PC to boot in legacy mode, it will find that half aborted fragment of grub and throw an error. I suggest you go into your firmware, and fully disable any possibility of legacy mode. Enable UEFI only. Disable legacy or CSM completely.

            If the day comes when you need to wipe that drive completely, we will show you how to nuke that piece of grub.

            Comment


              Could someone tell me what these suspicions are about?
              Ha! mr_raider addressed that above: basically, somehow, in the older traditional MBR space (on your drive), you installed some older GRUG legacy code, which is not what you want or need for your setup. Not to worry, though, that code, in the first 512 bytes, will just sit there, idle, harmless, and not cause any problems (unless, in the unlikely event, you, as mr_raider pointed out, somehow allow your computer to boot in the older BIOS legacy mode). As he says, if you ever re-do your entire disk or something, he/we can show you how to clear out that old MBR garbage. (Many people probably have junk like this laying around their disks, either at the beginning of a disk or at the very end -- not to worry, though.)

              @Qqmike
              Thank you for the links, I will look at it.
              I wouldn't. Seriously, though, that article is more for advanced interest in UEFI, for people like myself or mr_raider or Vinny! I would not get too wrapped up in the Zen of UEFI, UNLESS, of course, you do wish to make it kind of a specialized side interest/hobby of yours. I would stick to general Wikipedia articles, or post your issues here, or refer to the expert on EFI, Rod Smith, like this page (and he has dozens of specialty pages covering almost every EFI issue):
              Linux on UEFI:
              A Quick Installation Guide
              by Roderick W. Smith
              http://www.rodsbooks.com/linux-uefi/
              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

              Comment


                (About posting: I can't get the smileys to post graphically, even though I (de-)selected the options in Advanced, and it does show that smileys are ON ...)
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment


                  Ok, thanks a lot for these explanations. I would lie if I said I understood everything, but I will put my firmware (is it how this should be called?) in UEFI mode only.

                  Concerning the smileys I have the same issue.

                  Best

                  Comment


                    Originally posted by Qqmike View Post
                    (About posting: I can't get the smileys to post graphically, even though I (de-)selected the options in Advanced, and it does show that smileys are ON ...)
                    I suggest it's a browser issue. I don't have that problem when here on my Apple iPad (Safari), nor do I experience it when on my Kubuntu VM's (Firefox).
                    Using Kubuntu Linux since March 23, 2007
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      I'm on Firefox 58.0.1, in Kubuntu 14.04.
                      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                      Comment


                        Originally posted by Qqmike View Post
                        I'm on Firefox 58.0.1, in Kubuntu 14.04.
                        Hmm. Well, something else is affecting the smilies then. Plugin(s) maybe?
                        Using Kubuntu Linux since March 23, 2007
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          @mr_raider -- love your posts! Knowledgeable, informative and funny!
                          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                          – John F. Kennedy, February 26, 1962.

                          Comment


                            Gee, I also liked his posts. Hope I didn't inadvertently chase him off with my random interjections.
                            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                            Comment


                              (Another problem posting, has happened almost everytime I post lately: I press the submit or post button, and after a pause I get this message:
                              The following errors occurred with your submission
                              This forum requires that you wait 30 seconds between posts. Please try again in 28 [or some other integer less than 30] seconds.
                              BUT, then I open a new instance of Kubuntu forums (in a new tab), and I see my post did post, even though that error message implied that my post was being held up and I was to try again in x seconds. If I do wait the x seconds and try to post again, it may very well post, in which case I will then see two posts, each a duplicate of the other.)
                              An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                              Comment


                                Well this thread is pretty much done anyway. Not much left to say.

                                Sent from my ONEPLUS A5010 using Tapatalk

                                Comment

                                Working...
                                X