<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks everyone for their suggestions and patience.<br><br>I am moving forward in tiny steps. Since rescuecd normally goes to root mode, I will stick with that. Yes root is very powerful and careless keystroke can cause an unlimited number of problems. So I will just type carefully and think before hitting enter.<br><br>I also took enough time to determine that the link Rick gave in a previous email <a href="http://lignuxer.blogspot.com/2007/02/restoring-gnu-grub_15.html">http://lignuxer.blogspot.com/2007/02/restoring-gnu-grub_15.html</a>, and the info typed by Tony are similar.<br><br>So, from rescue CD, grub find /boot/stage1 returns (hd0,4)<br>That matches with knowing that it is also on sda5.<br><br>So I gave the commands:<br>root(hd0)<br>setup(hd0,4)<br>quit<br><br>and rebooted the machine w/o the CD.<br><br>once
the grub menu appeared, I gave "c" for command,<br>find /boot/grub/stage1)<br>and it returns (hd2,4)<br><br>The confusion between sda and sdc would be enough to explain the wrong partition types.<br><br>So what next? Early I had web-site explaining the grub map command for a similar problem, but I can't seem to find it. Or should I just edit menu.lst and replace hd0 with hd2?<br><br><br><br><br><br>--- On <b>Wed, 11/4/09, Rick Moen <i><rick@linuxmafia.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Rick Moen <rick@linuxmafia.com><br>Subject: Re: [conspire] Help with GRUB<br>To: conspire@linuxmafia.com<br>Date: Wednesday, November 4, 2009, 11:37 AM<br><br><div class="plainMail">Quoting Paul Zander (<a ymailto="mailto:paulz@ieee.org" href="/mc/compose?to=paulz@ieee.org">paulz@ieee.org</a>):<br><br>> First I burnt a CD for Kubuntu 9.10. Very
nice interface, but I spent<br>> a long time searching through the applications looking for a plain<br>> terminal window. I did find a command line, but it only executes one<br>> command and closes. Eventually I tried the command `xterm &`. That<br>> opened a terminal window. However, it doesn't have root privileges.<br>> Anyone know the root password for Kubuntu running off CD?<br><br>Just do "sudo /bin/bash" to start a root-privilege shell. If you really<br>need direct login as root, then run "sudo passwd root" to set a<br>password. *buntu variants are really big on discouraging direct use of<br>the root-user login, and making people get access to root privilege<br>using sudo.<br><br>> Next I tried SystemRescueCD. It starts with a big caution note. Do<br>> not attempt to mount directly to /. Instead `mkdir /mnt/mydir` and<br>> mount files there. Does grub care
where it is in the file system when<br>> following Tony's suggestions?<br><br>When you say "grub", here, what specific thing are you asking about?<br><br>There's a program called /usr/sbin/grub, which writes bootable<br>information to locations specified in /boot/grub/menu.lst .<br>SystemRescueCD has that program in a useful place on its live-CD<br>system; you don't need to worry about _its_ location. You just use it.<br><br>You'll want to grab your regular menu.lst out of /mnt/mydir/boot/grub<br>and copy it to /boot/grub (on the live system). Review it to make sure<br>it's correct, then do the usual with grub-install, and so on.<br><br>> When grub attempts to start windows, it halts on an error for unknown<br>> partition 0x82. I believe that 0x82 is LinuxSwap.<br><br>That is correct.<br><br>> When grub attempts to start Debian, it halts on unknown partition type<br>> 0x7.<br><br>According to information in /sbin/fdisk,
partition type 7 is<br>"HPFS/NTFS", so that's presumably your MS-Windows main (only?)<br>filesystem.<br><br>Again, correct the references in menu.lst, then re-run grub-install.<br><br><br><br>_______________________________________________<br>conspire mailing list<br><a ymailto="mailto:conspire@linuxmafia.com" href="/mc/compose?to=conspire@linuxmafia.com">conspire@linuxmafia.com</a><br><a href="http://linuxmafia.com/mailman/listinfo/conspire" target="_blank">http://linuxmafia.com/mailman/listinfo/conspire</a><br></div></blockquote></td></tr></table>