15:36 -!- donalsd [2f1de7b0@gateway/web/freenode/ip.47.29.231.176] has joined #ubuntu
15:37 < donalsd> Hey guys, I need some help in shifting my Ubuntu to a new SSD I got. This is my question right here:
15:37 < donalsd> https://askubuntu.com/questions/926429/how-to-clone-ubuntu-16-04-partition-from-triple-booted-hdd-to-ssd#926430
15:37 < donalsd> Can anyone help?
15:38 < donalsd> Anyone willing to help me out with the SSD question?
15:41 < tomreyn> donalsd: do you have both the old HDD and the new SSD connected to the same computer?
15:42 < donalsd> tomreyn: Yes. I replaced the Optical Drive with an SSD with a caddy in my laptop today. (And is this the correct way to mention in IRC?)
15:46 < donalsd> tomreyn: Should I be creating another partition?
15:47 < tomreyn> donalsd: yes, well done about IRC. ;) so since the SSD is small than the HDD you will have to (a) select only some pasrtitions form the HDD to copy to the SSD, totalling to less than the SSD's available storage, (b) shrink some of the partitions on the HDD before copying them to the SSD, (c) create (smaller) file systems on the SSD as they are on the HDD and copy only select data from there (you would also need to copy the boot sector seperately
15:49 < donalsd> tomreyn: Ubuntu is on a 40 GB partition of my HDD, so I will be copying that to the SSD. And what about the boot partition, how do I do that and which one is it?
15:49 < donalsd> Also, will MBR create an problems?
15:50 < donalsd> tomreyn: Also, will MBR create any problems?
15:50 < akik> donalsd: one thing to note is that you will be copying the UUID of the source partition on the new disk, so keep that in mind when you have both the source and target disk connected
15:51 < akik> donalsd: UUID of the source partition, i meant
15:51 < donalsd> akik: How do I copy that?
15:53 < donalsd> I boot from the boot options menu in my BIOS setup. Since UEFI goes directly to Windows (can't help, HP things). So I need to press f9 when I boot and then I have two drives shown on the boot options menu (HDD and SSD), although the latter one is total blank
15:53 < donalsd> ioria: About HDDs to SSDs?
15:54 < ioria> donalsd, not much, sy
15:54 < tomreyn> donalsd: MBR won't cause problems by itself, no. i tried to create a simple partitoon list based on the information you provided on askubuntu,.com and here so far.
15:54 < tomreyn> donalsd: https://pastebin.com/index/HNN8WAt6
15:56 < akik> donalsd: your paste references that gparted can change it (the UUID)
15:57 < donalsd> tomreyn: Yes, they are almost the same, except that the linux partitions in the HDD have one for swap. (they will be created automatically?) And there are a few more partitions on the HDD as well (GPT).
15:59 < donalsd> akik: GParted doesn't seem to be able to do anything to the SSD, the last time I opened it. I did make the SSD fs to NTFS for Windows to read it as well, but it seems like Windows sees it as an unallocated space rather than a partition, unlike Gparted.
16:00 < akik> donalsd: windows sees the same partitions but by default can't do anything with the linux partitions
16:01 < akik> donalsd: the problem you might see is that after you copy the partition, you will have two UUIDs that are the same
16:01 < donalsd> akik: So could you tell me the steps how to do what I need to fix this?
16:02 < donalsd> Almost a noob at this.
16:03 < akik> donalsd: after you copy your /boot and / on the ssd, are you planning to keep the old disk connected?
16:03 < tomreyn> donalsd: please run 'lsblk --output NAME,LABEL,SIZE,FSTYPE,UUID | nc termbin.com 9999' and post the url here.
16:04 < tomreyn> donalsd: also discuiss whether you plan to keep booting off the HDD or wish to boot off the SSD instead.
16:04 < donalsd> akik: Yes. The HDD will serve as a file storage while SSD will be the OS storage and high performance app storage.
16:05 < donalsd> tomreyn: I will be booting from the SSD. Since UEFI takes me to directly to Windows, I need to use Legacy in the BIOS and boot from the SSD manually.
16:06 < donalsd> tomreyn: I will need to switch to Ubuntu for sending you the url, is there a way that I can restore the chat while I am offline in IRC? I am windows now.
16:08 < akik> donalsd: you can save the log in your irc client
16:08 < tomreyn> donalsd: since you currently boot from the HDD to windows, bootiong from the SDD to windows might cause trouble to that OS. but this is not something we can sort out here.
16:08 < donalsd> akik: How do I do that? I am on the web browser.
16:08 < akik> donalsd: offline messages will wait until you're back :)
16:10 < tomreyn> donalsd: https://irclogs.ubuntu.com/2017/06/17/%23ubuntu.html
16:10 < tomreyn> donalsd: you can find the IRC logs there.
16:11 < donalsd> tomreyn: I manually boot from the "Notebook hard drive" when I boot after pressing f9 to go see the boot menu. It takes me to the grub. If I don't do that, I go directly to windows as a regular boot up. So I guess I will be doing the same with the SSD as well, which is again "Notebook Hard Drive" but as the second option in the boot menu.
16:12 < tomreyn> donalsd: you can do this, or you could install ubuntu's UEFI boot code.
16:13 < donalsd> You guys are really nice, thanks for all the help. I am rebooting from Ubuntu now. I will be back. Just one minute.
16:14 < donalsd> tomreyn: btw is there a way to see hourly logs of IRC?
16:14 < tomreyn> donalsd: not unless you write logs yourself, also, there will be some delay for the irclogs.ubuntu.com service.
16:15 < donalsd> Please provide me the logs once I come back online. Can't afford to lose them. Thanks!
16:16 -!- donalsd [2f1de7b0@gateway/web/freenode/ip.47.29.231.176] has quit [Quit: Page closed]
16:24 -!- donalsd [2f1de7b0@gateway/web/freenode/ip.47.29.231.176] has joined #ubuntu
16:25 < donalsd> tomreyn: Hey, I am back!
16:25 < donalsd> Could you provide me the logs?
16:28 < donalsd> tomreyn: What was the command again you asked me to execute?