Re: Dual boot comoputer



On xxxxxxxxxxxxxx, nano@xxxxxxxxxxxx wrote:

Quoting cody chamberlain <cham0169@xxxxxxxxx>:

On Fri, 2006-03-03 at 11:04 -0700, nano@xxxxxxxxxxxx wrote:

Hi to all,
I had a dual boot computer, Debian and Windows XP. The motherboard in the
computer failed, the motherboard was replaced( I wasn't present when the mb
was replaced) since then I can not acces debian.


what exactly is meant that you cannot access debian? is grub/lilo still
available?

On , nano@xxxxxxxxxxxx wrote:

No, lilo is not available, the computer boots into windows. I can see the
partitions by using knoppix and partition magic (one hard drive with two
partitions)


Quoting cody chamberlain <cham0169@xxxxxxxxx>:

are you able to boot into your windows xp? at what point are
you not able to boot debian?

On , nano@xxxxxxxxxxxx wrote:

Yes, I can boot into windows. The menu option to choose windows or debian is
gone. How can I restore the options to choose windows or debian?

thanks again

Fernando




From:
Andrei Popescu <andreimp@xxxxxxxxxx>
Date:
Sun, 5 Mar 2006 22:54:53 +0200




On Sun, 5 Mar 2006 04:56:59 -0800 (PST)
Willie Wonka <floydstestemail@xxxxxxxxx> wrote:



Andrei Popescu wrote:


> On Sat, 4 Mar 2006 00:33:39 -0700
> nano@xxxxxxxxxxxx wrote:
> > I see you have knoppix. Boot with it. Find out what your / partition


is. I will assume it is /dev/hda2. Open a root console and type these
commands:


> > umount /dev/hda2
> mount -o rw /dev/hda2 /mnt/hda2
> mount -o bind /dev /mnt/hda2/dev
> chroot /mnt/hda2
> mount /proc
> grub-install
> exit
> reboot
> > This should do the trick ;) > > Andrei
> P.S. I think some steps can be ommitted, but it won't hurt if you do


them :)

Above is pretty nice - however I'm notsure how some of those command
lines help ad do whatever they do -- but just wanted to say



Actually that sequence is needed with lilo. And if you do the grub-install in the abreviated form it will install the grub present on knoppix and not the one on the system. It should work fine in most cases, but you never know ...



Fairless:

After you do the chroot, use the absolute pathname of lilo which should be /sbin/lilo

You want to use the lilo on your system to install the MBR.

But more important, I forgot grub-install needs the install device, so it should be

grub-install /dev/hda

This will put it on the MBR of the hdd.

Andrei
-- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)


Fairless:

I also have a dual boot computer. It was necessary to get into root from Knoppix. Once I write-enabled the drive, I used the chroot command and then the full pathname of /sbin/lilo to install the MBR.

If you have trouble with the MBR being changed, you should know how to redo the MBR from Windows for another try. Since I have Windows 98SE, I can't help you with Windows XP.

HTH's :-)

--
(Mr.) Gayle Lee Fairless, http://counter.li.org/, No. 365760.
Linux Gcomm 2.6.12-1-686 #1 Fri Jun 24 12:17:14 CEST 2005 i686 GNU/Linux
CC's are fine with me although I am subscribed to the digest.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • reinstall lilo after windows
    ... I will have to reinstall my windows XP because I messed it up. ... I know it will fire my bootloader (lilo on the MBR) ... That lilo loads three linux installation at the moment (one Debian, ...
    (Debian-User)
  • Re: boot problem
    ... Because lilo couldn't see windows, which is installed on the first disk, I ... So i did a mbr repair of the mbr. ... But now i don't know how to het into Debian to change lilo so i can work ... You'll need a live CD with grub on it; Debian From Scratch is quite good ...
    (Debian-User)
  • Re: Unable to boot
    ... I was thinking if there was any way I could get/write the MBR ... to boot into my debian, I could probably see my data... ... > To wipe the MBR will allow other OS's (like Windows) ...
    (Debian-User)
  • Re: Grub issues booting Win xp
    ... Kevin Börgens wrote: ... > So what exactly does a installer from e.g. debian do when it finds the windows ... > code in the mbr and wants to keep the possibility to boot windows? ...
    (Debian-User)
  • unsubscribe
    ... > newsgroup for Debian ... > forward to install to your hard drive. ... > to install the Cygwin stuff on all my Windows boxes. ... like in an SSH client like PuTTY ?? ...
    (Debian-User)