Find the answer to your Linux question:
Results 1 to 4 of 4
Hey! =(... Well this is my situation ppl... I had windows installed, then I made a partition with PMagic for linux, installed my wonderful debian sarge, later etch... and since ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Unhappy Boot my linux, dammit! ='(

    Hey! =(... Well this is my situation ppl... I had windows installed, then I made a partition with PMagic for linux, installed my wonderful debian sarge, later etch... and since u might all know that windows starts working every day less and less, the time for formatting came. GRUB was installed in the C: disk, so hey, formatting it and installing windows on it made GRUB just... fly away!. I can't make a "Windows GRUB" work and all the steps to make a floppy grub boot are made at linux, but my prob is that I can't get into linux =(. If I try to install it with the debian CD, it first recognizes the two OS, and when I press Next it tells me i gotta install debian again... but I don't wanna reinstall my whole linux again, it took me enough time to make it be how it is =(... any way to boot grub with a floppy or sth? (remembering, I can only access to windows) thx ppl..

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Linux Newbie craigevil's Avatar
    Join Date
    Jun 2005
    Location
    Terra in the Milky Way
    Posts
    110
    Here are a couple ways of doing it and hopefully one of them will work for you:

    Boot with a Knoppix CD (or some other live-cd), or use a rescue/boot floppy like Tomsrtbt ( http://www.toms.net/rb/ ); determine your root partition and mount it to a temporary mount point; then chroot into it; then reinstall GRUB:

    sudo mkdir /mnt/temp

    sudo mount /dev/hda1 /mnt/temp
    (change /dev/hda1 to match your own root partition)

    sudo chroot /mnt/temp

    sudo grub-install /dev/hda

    or...

    determine your root partition, then mount it "dev" option enabled with write permissions. If the filesystem isn't mounted you'll need to mount it like this (be sure to change "hda1" and "hda" to match the location/device in your own system):

    sudo mount -o dev,rw /mnt/hda1

    if it's already mounted, remount it like this:

    sudo mount -o remount,dev,rw /mnt/hda1

    now restore grub like this:

    sudo chroot /mnt/hda1 grub-install /dev/hda

    if it doesn't work using chroot, try remounting as outlined above and do:

    sudo grub-install -root-directory=/mnt/hda1 /dev/hda

    Kanotix has an option to "Restore Grub", simply boot with the livecd and choose restore grub.
    __________________
    Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
    Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
    Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

  4. #4
    Just Joined!
    Join Date
    Jul 2006
    Location
    Rosario, Argentina
    Posts
    55

    Talking yay! ^^

    I'm on my debian again ^^ I missed Xgl xD. Yay, thx man. I couldn't understand those links, but I followed ur steps, and went well on me at the end I had on both cases errors but... hey! grub appeared! xD. I was downloading Knoppix in case it would help me, guess I did right thing . Plus I made myself a grub boot floopy xD No way to go wrong again xD. Thx again u both for worrying - cya!!! ^^

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •