General :: Grub - Error 17: Cannot Mount Selected Partition
Dec 15, 2010
i ran into this issue only because i wanted to learn. I was reading the book, linux troubleshooting and decided to give it a try.
1) I went to /boot/ and moved vmlinuz (kernel file) to my home directory. (/root/)
2) I booted, it didnt boot (as expected) and now the troubleshooting part begins.
3) i entered to grub config mode using c
4) When i press root (hd0, (tab) it gave me 2 partitions. hd0 which is my boot partition hd1 which is my '/' partition. Please keep in mind its LVM and not a physical partition
5) If i do this, root (hd0,1), and press boot, it gives the following error Error 17: Cannot mount selected partition
During my research i found that, LVM is not supported by grub, so kindly confirm me this ? is this the reason i am not able to access my root partition ? i am doing this on vmware so no issues, but just for the sake of learning, can someone tell me some way of restoring it without using any rescure disk (livecd, liveusb etc) ?
View 26 Replies
ADVERTISEMENT
Apr 19, 2011
I've tried everything to solve this, been browsing the forums for the last 2 days and no solution has worked.So I got a new netbook (Samsung n150 dated 03/2011) it had ubuntu 10.10 installed but I already use ubuntu on my macbookso I'm trying out knoppix, I booted it from usb and ran the HD installer, it gets through all that and then installs grub ok, but when I reboot I get "Error 17: Cannot mount selected partition"Things I already tried:*Grub setup (grub, root (hd0,1), setup (hd0), quit) and every variation.*I tried removing the usb and setting the HDD back to first boot in the bios andthen changing the menu.lst accordingly, still I get error 17.Below is the information just after boot with the usb still plugged in and set as first boot in bios.fdisk -l
Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
[code]....
View 9 Replies
View Related
Jun 4, 2010
I dualboot Ubuntu and Fedora in one hard drive. Below are the scenario.
First, installed Ubuntu 10.4 on the entire disk (40GiB of size). Then, shrink the Ubuntu installation to equal size to free up space for fedora.
Second, installed Fedora 13 using the option "Use free space on selected drives and create default layout". After the successful installation fdisk -l shows,
Code:
# fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
View 2 Replies
View Related
Apr 19, 2011
I've tried everything to solve this, been browsing the forums for the last 2 days and no solution has worked. So I got a new netbook (Samsung n150 dated 03/2011) it had ubuntu 10.10 installed but I already use ubuntu on my macbook so I'm trying out knoppix, I booted it from usb and ran the HD installer, it gets through all that and then installs grub ok, but when I reboot I get "Error 17: Cannot mount selected partition"
Things I already tried: Grub setup (grub, root (hd0,1), setup (hd0), quit) and every variation. *I tried removing the usb and setting the HDD back to first boot in the bios and then changing the menu.lst accordingly, still I get error 17. Below is the information just after boot with the usb still plugged in and set as first boot in bios.
[Code]...
View 3 Replies
View Related
Oct 10, 2009
I am having problems with grub. Originally I was having trouble installing Service Pack 2 for vista and I made the fool's mistake of changing the active partition in disk management from the boot partition to the windows partition. This blew up grub. After restarting I was dumped at the grub terminal i.e.
grub>
so I thought okay, I will just reinstall grub. I ran setup (hdx,y) but now when I restart first of all the splash screen is different, rather then the blue background with the big words in white, fedora 11, it's black and I get a error saying unable to read any images. I can see the different OS' I have on the grub screen but attempting to load any of them gives me
error 17 cannot mount selected partition.
I am currently running the Fedora 11 xfce spin live cd. From the terminal here, here is some information. sda3 is my fedora 11 partition I am not sure maybe it is because of ext4 but I can't seem to mount it using mount /dev/sda3 /mnt/xxxxx.
[root@localhost grub]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x72edceee
Device Boot Start End Blocks Id System
[Code].....
View 11 Replies
View Related
Jul 9, 2010
I installed Mac OS X 10.6, Windows 7 Ultimate, and made 4 partitions.OSX and 7 installed fine, but when I tried to install SUSE, it stopped at 92%.I get this error:
Code:
grub>setup --stage2=/boot/grub/stage2 --force-lba (hd0,3) (hd0,3)
Error 17: Cannot mount selected partition
grub> quit
View 2 Replies
View Related
Jul 22, 2010
I 've reinstalled XP partition on my ubuntu system 8.10 ,After that i reinstalled grub using live CD ubuntu 9.04
With the following commands:
but when i restarted the system i got the grub menu .. but when i select ubuntu i got the following error message: " error 17 .. can not mount selected partition "
View 1 Replies
View Related
May 10, 2010
I have a Dell VOSTRO laptop that I use for windows Vista. I have an old disk drive that I put into a USB case and now I want to use that for a Debian system. I do not want to install grub on my laptops HDD, if I do I need to have the USB HDD plugged in everytime I boot and i find that a real pain. I installed Debian on the USB drive with no problem and when it asked where I wanted to install GRUB I picked the USB drive ( I think ). Now when I interupt the boot and tell it to boot from the USB drive grub comes up with the correct menu but when I pick Debian I get the following messages:
Booting 'Debian GNU/Linux Kernel 2.6.26-2-amd64' root (hd1,0) Filesystem type unknown partition type 0xde kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sdb1 ro quiet Error 17: Cannot mount selected partition
View 7 Replies
View Related
Mar 29, 2009
I have a vista machine I recently put FC10 on. Through the course of figuring out wireless drivers, I goofed it enough that I was told to simply reinstall linux. I had the fedora GRUB file set as I wanted. But after I re-installed FC10 it would just hang after it searched for bootable CDs and stuff. I got the super grub CD and am able to boot into windows no issue. HOWEVER, when I select the fedora option, I get
"Error 17: Cannot mount selected partition"
I assume this means the grub doesn't know where my Linux boot stuff is. I have a separate drive dedicated to the linux install. The Vista drive is where the MBR is. So... how do I tell the grub where the FC10 install is? I've tried to reinstall FC10 twice hoping I just goofed something. edit: The standard grub file was in /boot/grub or something. Is there a file I can edit to point in the right direction?
View 1 Replies
View Related
May 28, 2010
When upgrading F12 to F13 I had a fatal error when I selected to update grub so I opted to do a fresh install of grub and the upgrade proceeded without any further problems. When I went to boot the system (dual-boot with Win 7) grub gave me error 17 "cannot mount selected partition". So I booted into rescue from the install disk thinking that maybe reinstalling grub might help, but when I ran "grub-install /dev/sda" I got the message that "/dev/sda does not have any corresponding BIOS drive" (I have Windows on SATA 1 sda and Fedora on SATA 2 sdb). I exited rescue mode rebooted entered BIOS and swapped the drive order and restarted. Success!... Well almost. The progress bar goes all the way across the screen to the point the login screen should come up then it hangs...
View 8 Replies
View Related
Jul 9, 2010
I am a regular user of ubuntu . I reinstalled my window XP ( windows / ubuntu dual booting )
after that i give the commands
grub > root (hd0, 6)
>setup (hd0)
after that when i restart the system i got the following message
" error 17 can not mount selected partition "
when i selected ubuntu
View 3 Replies
View Related
Jun 3, 2011
I installed 15. I have reformatted the 500mb /boot partition, didn't touch the swap partition, formatted the / partition. Trying to boot, I receive a "cannot mount selected partition". This is a fresh install. I rebooted into the Live CD to do some FS Checks, and got kernal crash, black screen, lots of kernal output while in live CD trying to do FS checks. The only line that looks like it holds any info that may be relevant is the last of the lines that says: Kernal Panic - Not Syncing: Fatal exception interupt PID 1161, comm:irq/21-0000:01: tainted: g d (kernal version) Panic+0x91/0x19c
I did an FS check on /boot and it came back fine. I did an FS check on /, and it came back fine. But then I told it to do an FS check on swap and got the warning that swap is currently mounted, and that if I proceed, it could cause serious system damage, and asked me if I wanted to proceed. I chose no, and it crashed.
---------- Post added at 02:59 AM ---------- Previous post was at 02:42 AM ----------
wait, i think i found the problem. It APPARENTLY installed /boot as ext4. Reinstalling now. Will update momentarily...
---------- Post added at 03:06 AM ---------- Previous post was at 02:59 AM ----------
Nope, i explicity made sure i installed ext3 on boot this time, and it still gives the same boot error, AND i KEEP getting that kernel crash.
View 1 Replies
View Related
Mar 7, 2011
Plan to use GRUB for multiple booting to select the OS but only with luck have I got it partially to work. Windows 98 and Puppy 431 O.K on first HDD but Puppy 421 on second HDD /dev/sdb1 stops at error 21.
View 6 Replies
View Related
Jan 9, 2010
if it's possible to see or retrieve from the system which menu option from the grub boot menu was selected afterall.
View 1 Replies
View Related
May 14, 2010
I'm using an Eee netbook so i have no CD drive. I've used Linux for about a week. Someone else installed it for me using their flash drive. If I need to use a flash drive to install I will need info on how to install to a flash drive. I had it set up so i could choose windows or ubuntu at start up. logged into windows to play a game and all it brought up was.
GRUB loading.
error: no such partition
grub rescue>
Now that's all I get when I turn it on.
View 4 Replies
View Related
Jun 24, 2010
what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab
so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)
View 1 Replies
View Related
Aug 13, 2011
I am to reinstall the notebook of my father, that had Windows XP and Ubuntu on it. And I dont know anything on Ubuntu. My objective was to make a fresh install with XP only.So I was checking the partitions within Windows and found 7 or 8 of them which I could not understand: I asked to remove them, one by one, and got some error mesage on Windows. Now I understand these were probably used by Ubuntu.Now, when I restarted the PC,n I got:"error no such partition grub rescue"..I tried to boot from the CD - a windows XP setup CD, but I get blocked as well, because when I try formatting the drive during the installation CD it makes an error, or otherwise without formatting I also get an error.I guess the partitionning information of the hard drive is inconsistent, making everything fail.I dont know what to do.I am thinking to use a USB disk to reformat the HD, but I am not sure it will help.
View 5 Replies
View Related
Jul 18, 2010
i am new to linux and i nid a bash script to Delete selected backup files and also restore selected backup file to a user define directory.
View 3 Replies
View Related
Mar 22, 2010
had a dual O/S win Vista 64bit & unbuntu 9.10 64bit.
1. Had a virus on my Win vista side, anti virus could help (virus kept replicating itself - to halt all progs from running).
2. In the End Win Vista would start & was only used Unbuntu for about 2 days.
3. Tried to repair Win Vista, but noting worked.
4. Couldn't mount Win partition through unbuntu either - needed to copy some files across.
5. Eventually formatted Win partition side & re-installed Win Vista 64bit.
6. The problem now is that the grub option to select the O/S choice isn't there, thus i can't use Linux.
6b. The computer loads only Win vista 64bit (Like there usn't a Linux)
7.Checked at the disk management prog - could see my linux space but have no access.
8. Used a live Linux cd to access linux partition, just to check - it worked.
9. how can i acccess the Linux O/S as normal?
View 1 Replies
View Related
Nov 3, 2010
while opening any video with gmplayer it gives the fatal Error opening/initializing the selected video_out (vo) device. while playing with mplayer it doesnot goto full screen video output mode while pressing F.
View 13 Replies
View Related
Jul 8, 2011
I am new to Linux. I have installed RHEL 5.4 on my PC with preloaded Windows XP.
Windows was set as the first boot kernel. So if i do not choose which OS to be loaded it will load Windows by Default.
Today I got an error saying GRub Loading Stage2 read error.
View 9 Replies
View Related
May 3, 2011
I recently switched to the Ubuntu 10.10 version from the 8.04 version, and when I looked for the Drive and Volume tabs in the USB Properties dialog, they were no longer available. In 8.04, I used the Volume tab to set the mount point and file system for selected CompactFlash drives connected to the computer through a USB adapter. It is important that these selected drives be mounted as msdos rather than vfat because of the characteristics of the legacy system that they are used with.
how do I get the functionality I had in 8.04 under the Drive and Volume tabs of the device properties dialog?
View 1 Replies
View Related
Jun 2, 2010
I dual boot windows xp and ubuntu 9.10 UNR on my asus1005ha Netbook What happened: I deleted the ubuntu partition and the swap partition through windows xp using Disk management. Whats happening now : When I power on my netbook grub says the following GRUB loading. Error: no such partition grub recovery>. I attempt to input any sudo command it says unknown command which makes sense considering the partition no longer exists.
View 8 Replies
View Related
Jul 16, 2010
I resize my Ubuntu extended partition in Windows and now when I boot, I'm getting a GRUB rescue and the error "no such partition". I'm on a LiveUSB. Here's the results of my fdisk -l:
Code:
omitting empty partition (5)
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders[code].....
The first device is my hard drive: the second is the LiveUSB and the third is an SD card I have to move files to.I ran a fsck on my Ubuntu partition, and I can't seem to mount it (or the Windows one): it gives me the error: "Message did not receive a reply (timeout by message bus)".How could I recover my data on both the Windows partition and the Ubuntu one?
View 3 Replies
View Related
Apr 10, 2010
I was and idiot and stared messing around gparted before I was ready to partition my hard drive. Consequently I messed up my partitions, and when I restarted my computer a screen comes up that reads:
GRUB loading.
error: no such partition
grub rescue> _
Have I killed my computer or is there some way I can fix it?
View 5 Replies
View Related
Sep 19, 2010
I accidentally removed the partition in my hard drive where my Ubuntu was installed.After restarting my Laptop, I suddenly receive the message saying,
"grub error> partition does not exist.
grub>"
View 1 Replies
View Related
Sep 28, 2010
I know this is a common error, but my situation is a little different than previous threads on this issue and I just want to make sure I get the correct solution.
Basically, I had Ubuntu 10.04 and Windows 7 on my netbook and wanted to try a more lightweight version of Ubuntu. After settling on LXDE for a desktop, I decided to install Lubuntu 10.04. I chose not to install LXDE over regular Ubuntu because I wanted to eventually end up with an Ubuntu distro with either GNOME or LXDE, but not both. So rather than put myself through the hassle of uninstalling all the GNOME or LXDE packages, I decided to keep them each on separate partitions.
In the end I decided to just stick with regular Ubuntu and deleted the Lubuntu partitions. Now I get the GRUB error written in the title of this thread.
View 4 Replies
View Related
May 6, 2011
i deleted the ubuntu partition from my pc that came with windows 7 and now when i start i get that error message. i kind of have an idea from reading other post about what is happening. i believe its looking for the ubuntu bootloader and its not finding it, correct me if im wrong. im not panicing because last night i did it once and read up on reinstalling it from my live cd will fix the boot problem and my pc will start like normal. ok well my question is...how do i get rid of ubuntu from a dual boot. dont get me wrong i love ubuntu but i love VM more and want to run it through there instead.
How to competely Remove Ubuntu From Partitions after having a dual boot???
View 6 Replies
View Related
Apr 17, 2010
GRUB (0.97) won't boot the XFS partition that holds my new Arch Linux install, instead giving an error 21. I am able to boot my system using GRUB on the Arch Linux install CD - having to manually edit the commands each time.
This holds even after I updated all software and then reran setup from the grub shell. I made sure to install to the MBR not the partition (the latter I believe trashes XFS).
Googling has found some mentions of trouble, but nothing that seems to clear on how to resolve the issue.
Changing filesystem is not an option - I installed Arch on a drive that already contained all my data. (Which is all fine, I made sure not to format it
View 8 Replies
View Related
Sep 10, 2010
When I run lilo (/sbin/lilo), it messes up my /boot partition. Next time I try to mount it after running lilo, I get an error: "mount: Stale NFS file handle" (I define -t ext2). My /boot partition is ext2, mounted locally, and not nfs. Then I do fsck /dev/sda1, and I get several: Free blocks count wrong for group #0 (7665, counted=5063). Fix<y>? I say yes to all and it works normally afterwards. This happens only after I run lilo. Lilo is installed in MBR.
Here is relevant configuration:
Code:
root@darwin:/home/cabrilo# cat /etc/lilo.conf
append=" vt.default_utf8=0"
boot = /dev/sda
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
prompt
timeout = 30
change-rules
reset
vga = normal
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
This is my partition table:
Code:
root@darwin:/home/cabrilo# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8f800200
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104422 83 Linux
/dev/sda2 14 144 1052257+ 82 Linux swap
/dev/sda3 145 3432 26410860 83 Linux
/dev/sda4 3433 19457 128720812+ 83 Linux
And this is my fstab:
Code:
root@darwin:/home/cabrilo# cat /etc/fstab
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext4 defaults 1 1
/dev/sda1 /boot ext2 defaults 1 2
/dev/sda4 /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
View 4 Replies
View Related