<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I am using pygrub to boot and this is how I got it to work:<br>
<br>
xm create -c <path to >dev3.cfg <br>
<br>
at the boot splash select the kernel you are using to boot with..<br>
press e to edit.<br>
press e and edit the kernel line and put single right after the
kernel designation....<br>
<br>
i.e. kernel /vmlinuz-2.6.18-274.3.1.el5xen single ro
root=/dev/VolGroup00/LogVol00 .....<br>
press enter to save your change.<br>
It will return back to the boot option menu<br>
<br>
pyGRUB version 0.6<br>
┌────────────────────────────────────────────────────────────────────────┐<br>
│ kernel /vmlinuz-2.6.18-274.3.1.el5xen single ro
root=/dev/VolGroup00/> │<br>
│ initrd
/initrd-2.6.18-274.3.1.el5xen.img
│<br>
│
│<br>
│
│<br>
│
│<br>
│
│<br>
│
│<br>
│
│<br>
└────────────────────────────────────────────────────────────────────────┘<br>
Use the ^ and v keys to select which entry is highlighted.<br>
Press 'b' to boot, 'e' to edit the selected command in the<br>
boot sequence, 'c' for a command-line, 'o' to open a new line<br>
after ('O' for before) the selected line, 'd' to remove the<br>
selected line, or escape to go back to the main menu.<br>
<br>
hit b to boot... <br>
<br>
<br>
it worked for me a couple of times in succession.<br>
<br>
Good luck.<br>
<div class="moz-cite-prefix"><br>
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
<br>
<div class="moz-signature">-- <br>
<br>
Kevin Coleman - Network Engineer<br>
<a class="moz-txt-link-abbreviated"
href="mailto:kevin.coleman@laser2mail.com">kevin.coleman@laser2mail.com</a>
<br>
LaserImage<br>
<br>
</div>
</div>
On 09/20/2012 10:48 AM, Ed Heron wrote:<br>
</div>
<blockquote class=" cite"
id="mid_1348156090_4667_1_camel_elap_rgtravel_com"
cite="mid:1348156090.4667.1.camel@elap.rgtravel.com" type="cite">
<pre wrap=""> You could loop mount the messed up disk on the host or you could mount
the messed up disk on another DomU and change it.
On Thu, 2012-09-20 at 08:58 -0400, <a class="moz-txt-link-abbreviated" href="mailto:me@tdiehl.org">me@tdiehl.org</a> wrote:
</pre>
<blockquote class=" cite" id="Cite_0" type="cite">
<pre wrap="">Hi,
I have a C5.8 machine with several DomU's. I fubared the fstab on one of them
and I need to get it into single user mode.
Does anyone know how to do that? I tried adding single to the extras line
in /etc/xen/machine_name but it still tries to start in level 3.
To make things worse, the root partition is on LVM.
Alternatively, does anyone know how to access the image from DomU? I tried
to use kpartx but when I run VGscan, I do not get the lvm activated.
Regards,
</pre>
</blockquote>
<pre wrap="">_______________________________________________
CentOS-virt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos-virt">http://lists.centos.org/mailman/listinfo/centos-virt</a>
</pre>
</blockquote>
<br>
</body>
</html>