Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images: Fixed hardcoded root partition device name sda2 (from Incus) #258

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

MusicDin
Copy link
Member

@MusicDin MusicDin commented Aug 6, 2024

The root partition may not be /dev/sda2, for example if set the boot disk as the
second disk, the root partition device name will be /dev/sdb2. It may be
/dev/vda2 if not using san disk. The fix figured out the root partition device
UUID and set the UUID as the root, the root partition device UUID keeps no
change.

Signed-off-by: JUN JIE NAN <nanjunjie@gmail.com>
(cherry picked from commit b0293a78e399fd4aaaf423ecff82788b6fe71f73)
Signed-off-by: Din Music <din.music@canonical.com>
License: Apache-2.0
@tomponline tomponline merged commit 005cae7 into canonical:main Aug 6, 2024
121 of 124 checks passed
@MusicDin MusicDin deleted the cp/root-disk-uuid branch August 6, 2024 15:30
@MusicDin MusicDin changed the title images: Fixed hardcoded root partition device name sda2 images: Fixed hardcoded root partition device name sda2 (from Incus) Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants