1. I issue this "# dracut --print-cmdline"

I get this 
"resume=UUID=deeb268a-740a-4393-935a-65a58e5cfb20root=UUID=bdf07de5-8fb8-4144-a3ab-a13edb1b41a9
 rootflags=rw,relatime,data=ordered rootfstype=ext4"

I want this "resume=/dev/sda1 root=/dev/sda2 rootflags=rw,relatime,data=ordered 
rootfstype=ext4


The man page states it can be done but I can find a command like....

# dracut --set-cmdline "resume=/dev/sda1 root=/dev/sda2 
rootflags=rw,relatime,data=ordered rootfstype=ext4"





-Bruce-





       To get a quick start for the suitable kernel command line on your 
system, use the --print-cmdline option:

           # dracut --print-cmdline
            root=UUID=8b8b6f91-95c7-4da2-831b-171e12179081 
rootflags=rw,relatime,discard,data=ordered rootfstype=ext4

       Specifying the root Device
           This is the only option dracut really needs to boot from your root 
partition. Because your root partition can live in various environments, there 
are a lot of
           formats for the root= option. The most basic one is root=<path to 
device node>:

               root=/dev/sda2

           Because device node names can change, dependent on the drive 
ordering, you are encouraged to use the filesystem identifier (UUID) or 
filesystem label (LABEL) to
           specify your root partition:

               root=UUID=19e9dda3-5a38-484d-a9b0-fa6b067d0331

           or

               root=LABEL=myrootpartitionlabel

           To see all UUIDs or LABELs on your system, do:

               # ls -l /dev/disk/by-uuid

           or

               # ls -l /dev/disk/by-label

           If your root partition is on the network see the section called 
“Network Boot”.






...............................

Bruce Ferjulian
EMC Corporation
Bldg 176, 1/Pole-M19
Hopkinton, MA 01748
Ext: ------4-4473
Tel: 508-249-4473
Cel: 978-771-4338


...............................

Bruce Ferjulian
EMC Corporation
Bldg 176, 1/Pole-M19
Hopkinton, MA 01748
Ext: ------4-4473
Tel: 508-249-4473
Cel: 978-771-4338

Reply via email to