[mythtv-users] MythTV BackEnd system HDD to smaller SSD Ubuntu
Hika van den Hoven
hikavdh at gmail.com
Thu Dec 24 13:22:41 UTC 2015
Hoi Mike,
Thursday, December 24, 2015, 1:59:23 PM, you wrote:
> On 12/23/2015 07:23 PM, Mike's JdJ wrote:
>>
>> Goal: replace existing BackEnd 976 GB system drive with
>> 240 GB SSD.
>>
> Wow, thank you Jerry, Hika, Tom, and Simon.
> Excellent solutions. I will think about which is safest for my
> skill level.
> Mike
It is in essence how you install Gentoo! But I forgot one important
part on chrooting. You also have to remount proc, dev and sys into the
new system. This is the script I use for chrooting:
#!/bin/bash
declare mntPath=$1
echo $mntPath
if [ "$mntPath" == "" ]; then
exit
fi
mount -t proc none $mntPath/proc
mount --rbind /sys $mntPath/sys
mount --rbind /dev $mntPath/dev
chroot $mntPath/ /bin/bash
You call the script with the mount path as parameter and of cause with
root rights.
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list