Skip to contentSkip to conversation

Kernel parameters: root

DISCUSSION Salvatore De Paolis 2 participants 2 messages May 4, 2007

lore
Share & tools
lore
#0 lore raw

Hi all

I hope this is the right place to ask this question, if not please redirect me to the right ML.

I would like to know more about kernel parameters and in particular about the root parameter.
I'm booting the kernel from usb pen and the root could change while the pen is plugged in different machines with different hardware.
I was trying to find info about "how to make this unique".
Does the kernel see only /dev/* ? There's no way to pass /dev/disk/*?

Any help/links is apprecciated
S.

#1 lore raw
Quoted 9 lines · Salvatore De Paolis

I hope this is the right place to ask this question, if not please redirect me to the right ML.

I would like to know more about kernel parameters and in particular about the root parameter.
I'm booting the kernel from usb pen and the root could change while the pen is plugged in different machines with different hardware.
I was trying to find info about "how to make this unique".

By using root=/dev/disk/by-id/scsi-SATA_iCreate_CF_Card000000001-part1 for example. Requires an initramfs with udev.

Quoted 1 line

Does the kernel see only /dev/* ? There's no way to pass /dev/disk/*?

The kernel has special logic to translate some (not ALL) /dev/[hs]d[abcd..] into device numbers if it cannot find a device node.

Jan