[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Fedora-xen] VFS: Cannot open root device



On 2008-12-22 4:41 PM, Siddharth Wagh wrote:
how do i know what the root partition is?
i gave the option:
root="/dev/hda"
in the config file.

Labels are your friend here.   E.g. on my machine 'borlaug' I have:

        kernel /boot/vmlinuz-2.6.26.6-49.fc8 ro root=LABEL=borlaug-root

which I set using the e2label command from Dom0 (e2label will also report the current label). This works especially nicely when you have to switch between hd/sd and xvd devices, e.g. installing in HVM mode but running in paravirt, the device changes but the label stays the same.

-Bill

--
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill bfccomputing com           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]