Linux Mint Updates

  • Thread starter Thread starter Sushubh
  • Start date Start date
  • Replies Replies 355
  • Views Views 70,434
Okay ...i am going to rant a bit in this post ...so linux (MINT) supporters ...bear with me !MINT Sucked for me ...crashed and burned my MBR !!As suggested by others ...i burnt the cd ...put it in the cd drive ....played with the OS for 10-15 minutes ....liked it ....decided to go for the complete installationTHat is where the pain began ....my original windows was installed in c: ...so i chose d: to install linux ...It took 20 minutes or so to install ...and when it restarted ....grub2 had made the garbage out of my MBR !!i could see 6 option .....mint and mint recovery (both working) ....some memory test and recovery (working) ....windows 7 ans windows 7 recovery (broken !!!!)I read ubuntu/mint forums on how to fix grub2 (rebuild mbr) to ensure windows starts working againCannot figure out what i did wrong during the installation ...as all the files of windows (c:, d:) were pretty much visible from mounted partition when working from Mint !THIS IS EXACTLY WHERE WINDOWS SCORES !!! ....they ensure that they make it IDIOT proof Okay ...i am done ranting .... I love ubuntu even more now ...wubi worked like charm ... mint standalone installation - NOT so muchPS:- i am open to suggestion on how to make Mint work next time (have formatted the entire hard disk ...25 gb dedicated partition left untouched for future experiments)
 
Whats this MBR? And in order to avoid such thing, wud it be a good idea to try the 4 GB Pendrive i have?
 
This gem i had copied from a site which now no longer up, has been a life-saver for me on more than one occasion when i encountered problems with booting. Since you could see the Windows 7 option i don't see how grub2 could have crashed your system. Be that as it may, to recover grub boot with the live CD/DVD, open your terminal and do the following; (Note: the partition table below is not mine but the author's)

$sudo fdisk -l

This will show your partition table.Here is my table to understand it better :

/dev/sda1 29 8369 66999082+ 83 Linux
/dev/sda2 * 8370 13995 45190845 7 HPFS/NTFS
/dev/sda3 13996 14593 4803435 5 Extended
/dev/sda5 13996 14593 4803403+ 82 Linux swap / Solaris

Now i will mount Linux (sda1 here), i have no external boot partition as you can see.(IF YOU HAVE external one, do not forget to mount it! )

$sudo mount /dev/sda1 /mnt
$sudo mount --bind /dev /mnt/dev
$sudo mount --bind /proc /mnt/proc

The following command is optional (it copies resolv.conf)

$sudo cp /etc/resolv.conf /mnt/etc/resolv.conf

Now chroot into the enviroment we made :

sudo chroot /mnt

After chrooting, you do not need to add sudo before your commands because from now, you will run commands as root.

[You may want to edit /etc/default/grub file to fit your system (timeout options etc)

#nano -w /etc/default/grub

Play with the options if you want.(But do not forget to give grub-update command if you saved it ;) )]
Don't bother with the stuff in square brackets above.

Now install/recover Grub2 via :

#grub-install /dev/sda

command.However you may get errors with that code like me.If so please use this command :

#grub-install --recheck /dev/sda

Now you can exit the chroot, umount the system and reboot your box :

#exit
$sudo umount /mnt/dev
$sudo umount /mnt/proc
$sudo umount /mnt
$sudo reboot
 
Would be a better idea to start the download just before you go to bed, your ISO would be nice and ready when you wake up in the morning and you wouldn't have to wait on edge biting your nails. :)
 
Okay ...i am going to rant a bit in this post ...so linux (MINT) supporters ...bear with me !

MINT Sucked for me ...crashed and burned my MBR !!

As suggested by others ...i burnt the cd ...put it in the cd drive ....played with the OS for 10-15 minutes ....liked it ....decided to go for the complete installation

THat is where the pain began ....my original windows was installed in c: ...so i chose d: to install linux ...
It took 20 minutes or so to install ...and when it restarted ....grub2 had made the garbage out of my MBR !!

i could see 6 option .....mint and mint recovery (both working) ....some memory test and recovery (working) ....windows 7 ans windows 7 recovery (broken !!!!)

I read ubuntu/mint forums on how to fix grub2 (rebuild mbr) to ensure windows starts working again

Cannot figure out what i did wrong during the installation ...as all the files of windows (c:, d:) were pretty much visible from mounted partition when working from Mint !

THIS IS EXACTLY WHERE WINDOWS SCORES !!! ....they ensure that they make it IDIOT proof

Okay ...i am done ranting ....

I love ubuntu even more now ...wubi worked like charm ... mint standalone installation - NOT so much

PS:- i am open to suggestion on how to make Mint work next time (have formatted the entire hard disk ...25 gb dedicated partition left untouched for future experiments)

oh well , since i contributed to this thread so ...

this not a mint/Debian problem this a windows problem ,window 7 has made dual booting a real pain, anyway what you had to do was to pop in win 7 dvd , boot from that, choose System Recovery Options from cmd prompt run the following 3 cmds in this order.

"bootrec /fixmbr", "bootrec /fixboot", "bootrec /rebuildbdc".

without quotes . reboot and you are good as new.

p.s remember if you are running pirated OS of win 7 then double the risk cause all pirated OS are activated via a slic boot loader to trick windows. so you will have 3 loaders running on boot , again a bad idea.
 
Whats this MBR? And in order to avoid such thing, wud it be a good idea to try the 4 GB Pendrive i have?

MBR = Master boot record (the place which points that which partition contains which operating system

This gem i had copied from a site which now no longer up, has been a life-saver for me on more than one occasion when i encountered problems with booting. Since you could see the Windows 7 option i don't see how grub2 could have crashed your system. Be that as it may, to recover grub boot with the live CD/DVD, open your terminal and do the following; (Note: the partition table below is not mine but the author's)

I spoke to 1 of my friend ...and he sent me this link - https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

It tells about the same procedure as given by you ....but then it got so technical that i decided to format the entire hard disk !!!!

oh well , since i contributed to this thread so ...

this not a mint/Debian problem this a windows problem ,window 7 has made dual booting a real pain, anyway what you had to do was to pop in win 7 dvd , boot from that, choose System Recovery Options from cmd prompt run the following 3 cmds in this order.

"bootrec /fixmbr", "bootrec /fixboot", "bootrec /rebuildbdc".

without quotes . reboot and you are good as new.

p.s remember if you are running pirated OS of win 7 then double the risk cause all pirated OS are activated via a slic boot loader to trick windows. so you will have 3 loaders running on boot , again a bad idea.

I tried that ...point is that MBR was there ....but pointing to some null sector ...windows would start loading and then comp would crash

As i said in my last post ...i am up for Linux still ....more for Ubuntu because of WUBI than Mint

I am cursing grub2 and windows 7 - bootloader compatibility more than linux itself
 
Did you try the Windows 7 recovery disc?

I put the windows 7 installation CD ...it gives you the below mentioned options

1) Repair
2) Upgrade/re-install over the same drive (without losing data)
3) Clean installation

Repair option has further options
a) Fix start-up/booting issues
b) System restore

i tried 'a' and 'b' ...both ....also Mint Grub2 fix solution ...when nothing worked ....i figured out ...clean installation will be faster than debugging :)
 
Back