On 2/26/07, <b class="gmail_sendername">Joel Bryan Juliano</b> <<a href="mailto:joelbryan.juliano@gmail.com">joelbryan.juliano@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 2/26/07, N. Spohrer <<a href="mailto:nicolai_spohrer@gmx.de">nicolai_spohrer@gmx.de</a>> wrote:<br>> golfer schrieb:<br>> > Use your live cd to mount and edit /boot/grub/menu.lst and /etc/fstab.<br>> >  You have to change the old partition numbers to the new ones.  If you
<br>> > still had the lvm type partition designations, then replace them with<br>> > /dev/sda<partition#> instead.  For tips on editing fstab, just do "man<br>> > fstab".<br>> ><br>
> > Also, be aware that the grub menu you get when you boot can be<br>> > changed.  This is helpful if you guessed the wrong numbers when you<br>> > edited the /boot/grub/menu.lst file.  Just hit the "e" key on the
<br>> > selected linux on the grub screen and it will give you a grub<br>> > terminal, where you can use "e" to edit, and "b" to boot.  If it<br>> > fails, just try <cntl><alt><del> and try a different number at the
<br>> > next grub boot.<br>> ><br>> > HTH,<br>> ><br>> hello.<br>> I already changed the UUIDs (ls /dev/disk/by-uuid -la) and I think they<br>> are correct. And of course I already tried to edit on boot - I think 10
<br>> times at least (you can exit back2grub with "ESC"). But all this didnt<br>> work! And my "update-grub" doesnt run properly, it detects the wrong<br>> partitions (cause in the chroot "mount" thinks sda11 is mounted on / and
<br>> sda6 three times... I just dont know why.<br>><br>> Nicolai<br>><br>><br><br>If sda6 is mounted on /, are you sure you are correct with chroot.<br><br>try this,<br><br>mount /dev/sda9 /target /bin/sh<br>
grub-install --root-directory=/ --recheck /dev/sda6 #or sda, depends<br>on your setup.<br>update-grub<br><br>if It can't find your devices, try this<br><br>cd /dev<br>MAKEDEV generic<br><br>Hope this helps,<br>Joel</blockquote>
<div><br>I'm sorry, I mixed mount and chroot altogether<br><br>it should be<br>...<br>mount /dev/sda6 /target<br>chroot /target /bin/sh<br>...<br><br>Just making sure everyone will get it right.<br><br></div></div>-- 
<br>Stay away from Piracy, use Open Source.<br>