LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2011, 10:38 AM   #1
Sean Cleary
LQ Newbie
 
Registered: Aug 2003
Location: Chino, CA
Posts: 5

Rep: Reputation: 0
ubuntu mint grub picks up os that are gone


Well this might not be a newbie question, but I will park it here for now.

Mint, a flavor of Ubuntu, boots up and picks up old OSes that are long gone.
How can I stop or modify this?
I have searched, and nothing seems to address this.

Last edited by Sean Cleary; 06-06-2011 at 10:38 AM. Reason: tags
 
Old 06-06-2011, 10:41 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Boot from a LiveCD and go to:

http://bootinfoscript.sourceforge.net/

follow the instructions and post the results with your reply.
 
Old 06-06-2011, 11:03 AM   #3
Sean Cleary
LQ Newbie
 
Registered: Aug 2003
Location: Chino, CA
Posts: 5

Original Poster
Rep: Reputation: 0
It is a long file.
What parts do you need?
Here is the start:
Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/boot/grub.
=> Windows is installed in the MBR of /dev/sdb.
=> Windows is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 10 Julia
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________________________________

File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /ntldr /NTDETECT.COM

sdb2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sdb5: __________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.04
Boot files: /boot/grub/menu.lst /etc/fstab

sdb6: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdc1: __________________________________________________________________________

File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Ubuntu 9.04
Boot files: /etc/fstab

sdc2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sdc5: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 9 Isadora
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdc6: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdc7: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 10 Julia
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdc8: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders, total 156250000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 150,108,159 150,106,112 83 Linux
/dev/sda2 150,110,206 156,248,063 6,137,858 5 Extended
/dev/sda5 150,110,208 156,248,063 6,137,856 82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 63 143,653,229 143,653,167 c W95 FAT32 (LBA)
/dev/sdb2 143,653,291 160,826,714 17,173,424 5 Extended
/dev/sdb5 143,653,293 159,991,334 16,338,042 83 Linux
/dev/sdb6 159,991,398 160,826,714 835,317 82 Linux swap / Solaris


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdc1 63 539,880,775 539,880,713 c W95 FAT32 (LBA)
/dev/sdc2 539,881,470 625,141,759 85,260,290 5 Extended
/dev/sdc5 539,881,472 587,427,181 47,545,710 83 Linux
/dev/sdc6 621,555,712 625,141,759 3,586,048 82 Linux swap / Solaris
/dev/sdc7 587,427,840 620,034,047 32,606,208 83 Linux
/dev/sdc8 620,036,096 621,553,663 1,517,568 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 6843bf21-e7d5-47be-ae30-351574e7d7db ext4
/dev/sda5 816a57ad-72b8-4036-8e5a-5b08da39aaa6 swap
/dev/sdb1 3061-1302 vfat DOG
/dev/sdb5 9e7f2724-45cf-4c35-b44d-8deb6934a0f9 ext3
/dev/sdb6 27ddb4de-8cc2-4fce-8734-1dc0839d2978 swap
/dev/sdc1 CBDC-971B vfat My Passport
/dev/sdc5 ef4599ae-1f46-44f1-8c29-1f9e27112168 ext4
/dev/sdc6 af5881ed-f8ca-48c1-b397-b8831499fed5 swap
/dev/sdc7 8cd4d759-6baf-4cae-946b-6f47979149a5 ext4
/dev/sdc8 0deb563f-e20e-4b68-9330-01b8265cdd4f swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)
/dev/sdc1 /media/My Passport vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
/dev/sdc5 /media/ef4599ae-1f46-44f1-8c29-1f9e27112168 ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdc7 /media/8cd4d759-6baf-4cae-946b-6f47979149a5 ext4 (rw,nosuid,nodev,uhelper=udisks)


=========================== sda1/boot/grub
 
Old 06-06-2011, 12:28 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
You have 4 Linux installations

sda1 Mint 10
sdb5 Ubuntu 9.04
sdc5 Mint 9
sdc 7 Mint 10

How many show up in your grub?

You could have posted the entire RESULTS.TXT between CODE tags using # key in the reply.

What you do is paste the file and select it (highlight) and select the # key in the Message.
 
Old 06-06-2011, 12:31 PM   #5
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 45
when you run
Code:
sudo update-grub
it will only find partitions that contain a grub installation.
 
Old 06-07-2011, 04:49 PM   #6
Sean Cleary
LQ Newbie
 
Registered: Aug 2003
Location: Chino, CA
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks everyone.
Problem mosty over.
After messing with grub, I had to reinstall the system.
And I installed it to a partition I did not think I had used before, trying to
preserve data and such.
It merrily displayed what it thought was a windows partition,
and once over written, no longer has several of the installations.
I will learn about this stuff later,
Again, thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with GRUB in triple boot XP, Mint 8, and Ubuntu 9.10 TheTreeMaster Linux - Newbie 1 01-06-2010 10:28 PM
Issues with GRUB in triple boot XP, Mint 8, and Ubuntu 9.10 TheTreeMaster Linux - Software 1 01-06-2010 09:51 PM
How do I replace Linux Mint with Suse 11.0 on PC with Win XP Mint and Ubuntu? jremsen Linux - Software 4 02-15-2009 07:54 AM
ubuntu picks up wireless network but will not connect... personalcrusade Linux - Networking 1 03-17-2008 10:46 PM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 06:37 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration