Posts

Showing posts with the label Dual Boot

Can I Share MySql Database Files With Windows On Dual Boot?

Answer : Yes, it works but with some quirks. MySQL uses the same fileformats across platforms so all you need is to share the data directory. One problem is that the data directory need to have mysql as owner and group in ubuntu. And Windows is case-insensitive and Linux is case-sensitive so keep all names uniform: either the whole name lowercase or uppercase but do not mix them. From start to finish; if you already have things set up this might need some tweaking to fit your setup: Install and setup MySQL on both systems. Stop the mysql server if it is running. Make a new NTFS partition. Mark the device name (let's call it sdXN for now). Move the mysql data directory from Ubuntu to the new partition. mkdir /{mountpoint}/mysql_data sudo mv /var/lib/mysql /{mountpoint/mysql_data using mv saves permissions. Make a new mysql directory sudo mkdir /var/lib/mysql Mount the NTFS partition at /var/lib/mysql . Change the devicename to what it got when you created the NT...

Can't Boot Into Ubuntu In Windows 10 / Ubuntu Dual Boot

Image
Answer : Disable the hibernation mode and Fast Boot in Windows. Open command prompt as administrator and execute : powercfg /h off Open the legacy version of the Windows Control Panel (not the modern version). Select Energy Settings , enable show hidden settings and uncheck Fast Boot. After having done this - shutdown the computer completely - do NOT reboot. Boot into the BIOS and select Ubuntu as the default operating system to boot. Update : In case there is no Ubuntu entry to be found in the BIOS / UEFI settings, re-install the GRUB boot loader to your Ubuntu installation in EFI mode. Boot from the Ubuntu installation media - open a terminal and execute: sudo mount /dev/sdXXX /mnt sudo mount /dev/sdXX /mnt/boot/efi for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done sudo chroot /mnt grub-install /dev/sdX update-grub Note: sdX = disk | sdXX = efi partition | sdXXX = system partition To identify the partition numbers use G...