I need to change UUID to another UUID Announcing the arrival of Valued Associate #679: Cesar...
Trying to understand entropy as a novice in thermodynamics
How do living politicians protect their readily obtainable signatures from misuse?
Printing attributes of selection in ArcPy?
Would color changing eyes affect vision?
Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?
What does 丫 mean? 丫是什么意思?
Co-worker has annoying ringtone
what is the log of the PDF for a Normal Distribution?
Why is it faster to reheat something than it is to cook it?
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
Why is a lens darker than other ones when applying the same settings?
Relating to the President and obstruction, were Mueller's conclusions preordained?
How much damage would a cupful of neutron star matter do to the Earth?
Differences to CCompactSize and CVarInt
Flight departed from the gate 5 min before scheduled departure time. Refund options
What does it mean that physics no longer uses mechanical models to describe phenomena?
Moving a wrapfig vertically to encroach partially on a subsection title
GDP with Intermediate Production
Test print coming out spongy
What is the difference between a "ranged attack" and a "ranged weapon attack"?
RSA find public exponent
A `coordinate` command ignored
What is the "studentd" process?
Can an iPhone 7 be made to function as a NFC Tag?
I need to change UUID to another UUID
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Windows 7 doesn't boot after Ubuntu installHow do I skip the Grub menu on a dual-boot system?Re-configure GRUB to directly boot to Ubuntu on dual-bootWhy do I have grub file in my home directory?Upgraded from 14.0 to 16.04. Boot failureLinux Kernel Problems: Ubuntu16.04 can't BootHow to stop Ubuntu's Recovery Mode from timing outHow to get grub to boot from a newly encrypted partitionneed help installing ubuntu 18.4/recovring previous installationgrub-install but don't use UUID; bios_grub
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have an unique situation where I need to change UUID to another UUID.
I formatted it and obviously number changed... I know I need these files changed. But I cannot find anywhere on the net info about customizing UUID.
the issues: when closing the lid - the notebook does not poweroff - or shutdown
i need to change
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0
2
to this
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults
how to achieve that!?
btw: see the hibernation issues i have had so far
martin-pc martin]# cat /etc/fstab
# /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>
UUID=A790-35CD /boot/efi vfat defaults,noatime 0 2
UUID=1bf0c824-0645-47da-b8a1-88eaaabecc33 / ext4 defaults,noatime 0 1
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0 2
[martin-pc martin]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=ae33e597-0c72-4c66-9f16-6606322111c3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
[martin-pc martin]#
btw - i have had some issues -. with the hibernate due to a hung up upgrade process (that was interrupted unfortunatly=)
If we use ext for it:
tune2fs /dev/{device} -U {uuid}
From man tune2fs
-U UUID
Set the universally unique identifier (UUID) of the filesystem to
UUID. The format of the UUID is a series of hex digits separated by
hyphens, like this: c1b9d5a2-f162-11cf-9ece-0020afc76f16. The UUID
parameter may also be one of the following:
clear clear the filesystem UUID random generate a new
randomly-generated UUID time generate a new time-based UUID
The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and
possibly others) by specifying UUID=uuid instead of a block special
device name like /dev/hda1.
grub2 fstab
add a comment |
I have an unique situation where I need to change UUID to another UUID.
I formatted it and obviously number changed... I know I need these files changed. But I cannot find anywhere on the net info about customizing UUID.
the issues: when closing the lid - the notebook does not poweroff - or shutdown
i need to change
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0
2
to this
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults
how to achieve that!?
btw: see the hibernation issues i have had so far
martin-pc martin]# cat /etc/fstab
# /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>
UUID=A790-35CD /boot/efi vfat defaults,noatime 0 2
UUID=1bf0c824-0645-47da-b8a1-88eaaabecc33 / ext4 defaults,noatime 0 1
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0 2
[martin-pc martin]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=ae33e597-0c72-4c66-9f16-6606322111c3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
[martin-pc martin]#
btw - i have had some issues -. with the hibernate due to a hung up upgrade process (that was interrupted unfortunatly=)
If we use ext for it:
tune2fs /dev/{device} -U {uuid}
From man tune2fs
-U UUID
Set the universally unique identifier (UUID) of the filesystem to
UUID. The format of the UUID is a series of hex digits separated by
hyphens, like this: c1b9d5a2-f162-11cf-9ece-0020afc76f16. The UUID
parameter may also be one of the following:
clear clear the filesystem UUID random generate a new
randomly-generated UUID time generate a new time-based UUID
The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and
possibly others) by specifying UUID=uuid instead of a block special
device name like /dev/hda1.
grub2 fstab
add a comment |
I have an unique situation where I need to change UUID to another UUID.
I formatted it and obviously number changed... I know I need these files changed. But I cannot find anywhere on the net info about customizing UUID.
the issues: when closing the lid - the notebook does not poweroff - or shutdown
i need to change
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0
2
to this
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults
how to achieve that!?
btw: see the hibernation issues i have had so far
martin-pc martin]# cat /etc/fstab
# /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>
UUID=A790-35CD /boot/efi vfat defaults,noatime 0 2
UUID=1bf0c824-0645-47da-b8a1-88eaaabecc33 / ext4 defaults,noatime 0 1
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0 2
[martin-pc martin]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=ae33e597-0c72-4c66-9f16-6606322111c3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
[martin-pc martin]#
btw - i have had some issues -. with the hibernate due to a hung up upgrade process (that was interrupted unfortunatly=)
If we use ext for it:
tune2fs /dev/{device} -U {uuid}
From man tune2fs
-U UUID
Set the universally unique identifier (UUID) of the filesystem to
UUID. The format of the UUID is a series of hex digits separated by
hyphens, like this: c1b9d5a2-f162-11cf-9ece-0020afc76f16. The UUID
parameter may also be one of the following:
clear clear the filesystem UUID random generate a new
randomly-generated UUID time generate a new time-based UUID
The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and
possibly others) by specifying UUID=uuid instead of a block special
device name like /dev/hda1.
grub2 fstab
I have an unique situation where I need to change UUID to another UUID.
I formatted it and obviously number changed... I know I need these files changed. But I cannot find anywhere on the net info about customizing UUID.
the issues: when closing the lid - the notebook does not poweroff - or shutdown
i need to change
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0
2
to this
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults
how to achieve that!?
btw: see the hibernation issues i have had so far
martin-pc martin]# cat /etc/fstab
# /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>
UUID=A790-35CD /boot/efi vfat defaults,noatime 0 2
UUID=1bf0c824-0645-47da-b8a1-88eaaabecc33 / ext4 defaults,noatime 0 1
UUID=ae33e597-0c72-4c66-9f16-6606322111c3 swap swap defaults,noatime 0 2
[martin-pc martin]# cat /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=ae33e597-0c72-4c66-9f16-6606322111c3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
[martin-pc martin]#
btw - i have had some issues -. with the hibernate due to a hung up upgrade process (that was interrupted unfortunatly=)
If we use ext for it:
tune2fs /dev/{device} -U {uuid}
From man tune2fs
-U UUID
Set the universally unique identifier (UUID) of the filesystem to
UUID. The format of the UUID is a series of hex digits separated by
hyphens, like this: c1b9d5a2-f162-11cf-9ece-0020afc76f16. The UUID
parameter may also be one of the following:
clear clear the filesystem UUID random generate a new
randomly-generated UUID time generate a new time-based UUID
The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and
possibly others) by specifying UUID=uuid instead of a block special
device name like /dev/hda1.
grub2 fstab
grub2 fstab
asked 2 mins ago
zerozero
150227
150227
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135659%2fi-need-to-change-uuid-to-another-uuid%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135659%2fi-need-to-change-uuid-to-another-uuid%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown