Error 21: Selected disk does not exist

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Error 21: Selected disk does not exist

Postby zenddnez on Fri Mar 27, 2009 2:42 pm

i had installed xubuntu first and had grub with windows and other options working then i installed linux mint and when it tried loading linux mint i got some error:17 cannot mount .....
i somehow pressed e and eddited hd1,6 to hd0,6 and booted and then loaded linux mint
then itried running windows but i got an error Error 21: Selected disk does not exist

then i went in linuxmint went to /boot/grub and changed some menu.lst while where the location of linux mint was hd1,6 to hd0,6 so that i did not have to change the settings during boot always

sudo fdisk -l gives me



Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 8960 41254920 f W95 Ext'd (LBA)
/dev/sda3 8961 9043 666697+ 83 Linux
/dev/sda4 9344 9729 3100545 83 Linux
/dev/sda5 3825 5736 15358108+ 7 HPFS/NTFS
/dev/sda6 5737 7648 15358108+ b W95 FAT32
/dev/sda7 7649 8413 6144831 83 Linux
/dev/sda8 8414 8926 4120641 83 Linux
/dev/sda9 8927 8960 273073+ 82 Linux swap / Solaris




how do i solve this problem(Error 21: Selected disk does not exist ) and load into windows
can somebody please help me?

I really don't know what to do i am completely new to this stuff


and by the way i am finding linux mint quite great
zenddnez
Level 1
Level 1
 
Posts: 15
Joined: Fri Mar 27, 2009 2:24 pm

Linux Mint is funded by ads and donations.
 

Re: Error 21: Selected disk does not exist

Postby Husse on Fri Mar 27, 2009 6:09 pm

Tell us which Mint you have (exactly) and post your menu.lst - without it there is no way I can tell what's wrong
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Error 21: Selected disk does not exist

Postby zenddnez on Sat Mar 28, 2009 11:45 am

Linux Mint 6 XFCE CE, kernel 2.6.27-7-generic

i think this is what u wanted from menu.lst:


# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## Graphical boot menu location
gfxmenu=/boot/gfxmenu/default.message

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda7 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,6)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Linux Mint 6 XFCE CE, kernel 2.6.27-7-generic


root (hd0,6)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda7 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Linux Mint 6 XFCE CE, kernel 2.6.27-7-generic (recovery mode)
root (hd1,6)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda7 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Linux Mint 6 XFCE CE, kernel 2.6.15-26-386
root (hd1,6)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/sda7 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-386
quiet

title Linux Mint 6 XFCE CE, kernel 2.6.15-26-386 (recovery mode)
root (hd1,6)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/sda7 ro single
initrd /boot/initrd.img-2.6.15-26-386

title Linux Mint 6 XFCE CE, memtest86+
root (hd1,6)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows NT/2000/XP (loader)
root (hd1,0)
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda4.
title Red Hat Linux (2.4.20-8smp) (on /dev/sda4)
root (hd1,3)
kernel /boot/vmlinuz-2.4.20-8smp ro root=LABEL=/1
initrd /boot/initrd-2.4.20-8smp.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda4.
title Red Hat Linux (2.4.20-8bigmem) (on /dev/sda4)
root (hd1,3)
kernel /boot/vmlinuz-2.4.20-8bigmem ro root=LABEL=/1
initrd /boot/initrd-2.4.20-8bigmem.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda4.
title Red Hat Linux (2.4.20-8BOOT) (on /dev/sda4)
root (hd1,3)
kernel /boot/vmlinuz-2.4.20-8BOOT ro root=LABEL=/1
initrd /boot/initrd-2.4.20-8BOOT.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda4.
title Red Hat Linux (2.4.20-8) (on /dev/sda4)
root (hd1,3)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/1
initrd /boot/initrd-2.4.20-8.img
savedefault
boot








And thanks for helping me. I really want to get this finished fast
zenddnez
Level 1
Level 1
 
Posts: 15
Joined: Fri Mar 27, 2009 2:24 pm

Re: Error 21: Selected disk does not exist

Postby Husse on Sat Mar 28, 2009 7:24 pm

You did not say you had two disks, but I guessed so
This looks right to me
title Windows NT/2000/XP (loader)
root (hd1,0)
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

but it is of course the centre point here
Try to switch the two map lines so it goes
title Windows NT/2000/XP (loader)
root (hd1,0)
savedefault
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Error 21: Selected disk does not exist

Postby zenddnez on Sun Mar 29, 2009 10:00 am

i am booting from only one hard disk


once i made the hanges you suggested i am getting this:

Error 21: Selected disk does not exist
zenddnez
Level 1
Level 1
 
Posts: 15
Joined: Fri Mar 27, 2009 2:24 pm

Re: Error 21: Selected disk does not exist

Postby Husse on Sun Mar 29, 2009 11:46 am

If you only have one disk (I thought I saw sdb somewhere) why do you map Windows?
This is something you do to trick Windows into believing it's on the first disk
I don't have a Windows partition in this computer (don't use it any more) so I can't check but it should be
title Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
chainloader +1

That is if Windows is an sda1 as I find now :)
Sorry for not seeing this - I look at so many posts.....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Error 21: Selected disk does not exist

Postby zenddnez on Mon Mar 30, 2009 3:25 pm

IT WORKED :D :D :D :D :D

tHANKS A MILLION

very nice of you to take out time for me.


Thanks again
zenddnez
Level 1
Level 1
 
Posts: 15
Joined: Fri Mar 27, 2009 2:24 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: austin.texas, Google Adsense [Bot] and 47 guests