Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 301  / 3 Years ago, tue, november 2, 2021, 5:09:47

PC: Sony vaio VGN-FW250j


CPU: Intel Duo Core 64 bit system


OS: Windows 7 Installed


OS: Ubuntu 15.04 from amd64 ISO via UNetbootin "frugal boot" method.


Dual Boot: Ubuntu 15.04 as well as Windows 7 are bootable


My current disk and partitions are like this:


sudo blkid -c /dev/null 
/dev/sda1: LABEL="System Reserved" UUID="1E98FB2198FAF5DD" TYPE="ntfs" PARTUUID="a287a9ef-01"
/dev/sda2: UUID="6016FE5E16FE349E" TYPE="ntfs" PARTUUID="a287a9ef-02"
/dev/sda4: LABEL="Swap" UUID="b246d9d7-15ea-48c1-8313-c4cbeafb8a3a" TYPE="swap" PARTUUID="a287a9ef-04"
/dev/sda5: UUID="b010e611-6efb-49a9-bff0-59b9533d659b" TYPE="ext4" PARTUUID="a287a9ef-05"

Are there any problems you see here? My Resume from suspend does not work and Rhythmbox loses all the previously imported files every time I reboot. I have verified the swap space is on and working, and the resume, grub and fstab files use the resume=UUID=abc...xyz" of the swap file.


I would like to have suspend working but can live without it since the boot time is pretty fast.


Here is my fstab file:



/etc/fstab: static file system information.


Use 'blkid' to print the universally unique identifier for a
device; this may be used with UUID= as a more robust way to name devices
that works even if disks are added and removed. See fstab(5).


file system mount point type options dump pass


/ was on /dev/sda5 during installation


UUID=b010e611-6efb-49a9-bff0-59b9533d659b / ext4 errors=remount-ro 0 1
UUID=b246d9d7-15ea-48c1-8313-c4cbeafb8a3a none swap sw 0 0



I am wondering if part of the issue is that my fstab file is not configured to help Ubuntu read/write the NTFS (win 7) partition where the data files are stored and therefore Rhythmbox cannot properly import the files.


What do you think?


More From » dual-boot

 Answers
5

There were two questions in my original post having to do with:



  1. Resuming from a suspend

  2. Rhythmbox losing library after reboot


I was able to setup hibernate to work using the simple instructions found here: https://help.ubuntu.com/14.04/ubuntu-help/power-hibernate.html


Suspend, technically is still not working, however, I found that Hibernate is an equivalent for my purposes so I am satisfied with this alternative. The helpful link above I followed pretty much verbatim.


First, I did have to setup my swap file to be sure it would be used to store files during a hibernate in order for it to resume later. For that I used the info in this link:


https://help.ubuntu.com/community/SwapFaq


As far as Rhythmbox losing its library after reboot I was able to overcome this issue as well. I believe the main issue here was the linked files becoming unlinked during the reboot, an issue that really has nothing to do with Rhythmbox or any other music player/manager.


However the issue is related to a dual boot Win7/Linux system. I did not have the NTFS volume, where the library (actual music files) were located configured or set to mount upon reboot. There were a few other things I learned along the way.


In order to solve this issue I followed some helpful links:


https://help.ubuntu.com/community/MountingWindowsPartitions


I created a shared partition in Windows and named it Data. I then moved my music, pictures, documents, downloads, and videos to this NTFS volume. I used Gparted Live cd to add a /home and a new swap volume. I then configured the ftsab, grub, and initramfs files to setup the new swap for a resume state per the swapfaq link above. Then I created a mountpoint



sudo mkdir /media/Data



where the Data volume would mount on reboot. I added



UUID=F0EAFE30EAFDF2A8 /media/Data ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0



To fstab to actually mount the volume per the info in the Mounting Windows Partitions help wiki above.


My volumes look like this now:



/dev/sda1: LABEL="System Reserved" UUID="1E98FB2198FAF5DD" TYPE="ntfs" PARTUUID="a287a9ef-01"


/dev/sda2: LABEL="Win7OS" UUID="6016FE5E16FE349E" TYPE="ntfs" PARTUUID="a287a9ef-02"


/dev/sda3: LABEL="Data" UUID="F0EAFE30EAFDF2A8" TYPE="ntfs" PARTUUID="a287a9ef-03"


/dev/sda5: LABEL="Ubuntu" UUID="b010e611-6efb-49a9-bff0-59b9533d659b" TYPE="ext4" PARTUUID="a287a9ef-05"


/dev/sda6: LABEL="HOME" UUID="3cd8964d-59e2-43e3-8f15-bee9600f95b3" TYPE="ext4" PARTUUID="a287a9ef-06"


/dev/sda7: LABEL="Swap" UUID="8bcb4169-f5ab-4ab6-b644-23e528088d41" TYPE="swap" PARTUUID="a287a9ef-07"



My Hibernate works and my Rhythmbox does not lose any of the library files after rebooting. Thanks to those that made comments and helped me direct my attention where it needed to be. I hope this helps others in future.


[#19252] Wednesday, November 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stantildlike

Total Points: 363
Total Questions: 135
Total Answers: 120

Location: Pitcairn Islands
Member since Fri, Dec 17, 2021
2 Years ago
;