Bug 11162 (UUID-root)

Summary: UUID support built into kernel
Product: IO/Storage Reporter: Mumia W. (mumia.w.18.spam+nospam)
Component: Block LayerAssignee: Jens Axboe (axboe)
Status: REJECTED INVALID    
Severity: enhancement CC: aleks, mumia.w.18.spam+nospam
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.26 Subsystem:
Regression: No Bisected commit-id:

Description Mumia W. 2008-07-25 09:06:22 UTC
Latest working kernel version: (none)
Earliest failing kernel version: 2.6.26
Distribution: Ubuntu 8.04
Hardware Environment: i386
Software Environment: linux-source, kernel_package
Problem Description:

I would like to see UUID support built into the kernel; in particular, I would like to be able to do this in Grub:

> title  Ubuntu 8.04.1, kernel 2.6.26
> root   (hd0,7)
> kernel /boot/vmlinuz-2.6.26 rootuuid=aaaabbbb-cccc-dddd-eeeeffff ro
> boot

In other words, the "rootuuid" parameter would specify the UUID of the hard disk to use as the root partition, and no initrd or initramfs would be needed.

This request has come out of a thread I created in the Ubuntu-users mailing list:
http://home.earthlink.net/~mumia.w.18.spam/docs/nouuid-1.txt
http://home.earthlink.net/~mumia.w.18.spam/docs/nouuid-2.txt

Steps to reproduce:

Specify rootuuid=aaaabbbb-cccc-dddd-eeeeffff, and it will be ignored if there is no initrd or initramfs.

Specify root=UUID=aaaabbbb-cccc-dddd-eeeeffff, and it will be ignored if there is no initrd or initramfs.
Comment 1 Jens Axboe 2008-07-28 03:13:21 UTC
Sorry, we can't take feature requests in bugzilla. If you want to have better luck with this, you should start the effort off yourself and post it on the appropriate mailing list.
Comment 2 Alexander 2013-05-17 23:39:19 UTC
> and it will be ignored if there is no initrd or initramfs.
--> but if someone wants to harm the system (as suggested) he would place a initrd or initramfs

sorry links are dead:
http://home.earthlink.net/~mumia.w.18.spam/docs/nouuid-1.txt
http://home.earthlink.net/~mumia.w.18.spam/docs/nouuid-2.txt

please reply.
Comment 3 Mumia W. 2013-05-18 15:38:35 UTC
Please do not worry about it.