Author Topic: grub error "no such partition"  (Read 547 times)

Offline metro

  • Full Member
  • ***
  • Posts: 109
grub error "no such partition"
« on: December 26, 2012, 12:03:55 AM »
Hi Guys
yesterday I had issues updating from KDE 4.6x to the current version
it was decided the best way forward was to download the latest iso
and reinstall. I did have an iso I downloaded some time back I think it is 2012. 08
after booting the live CD and installing I cannot boot the system
the brain gets a little foggy and I'm unsure how to get things working
I have read many previous posts on the subject but still get my head around
how to fix it
any help appreciated

fdisk -l shows

Code: [Select]
Password:
[root@localhost ~]# fdisk -l

Disk /dev/sda: 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
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd51cd51c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    40210694    20105316    c  W95 FAT32 (LBA)
/dev/sda2        40210695   160826714    60308010    f  W95 Ext'd (LBA)
/dev/sda5        40210758   100518704    30153973+   b  W95 FAT32
/dev/sda6       100518768   160826714    30153973+   b  W95 FAT32

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
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007a01c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          63    62508914    31254426    7  HPFS/NTFS
/dev/sdc2        62508915   625137344   281314215    5  Extended
/dev/sdc5        62508978   215528039    76509531    7  HPFS/NTFS
/dev/sdc6       215528103   217568294     1020096   82  Linux swap / Solaris
/dev/sdc7       217568358   249216344    15823993+  83  Linux
/dev/sdc8       249216408   317942414    34363003+  83  Linux
/dev/sdc9       317942478   625137344   153597433+   b  W95 FAT32

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb684b684

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   135797444    67898691    7  HPFS/NTFS
/dev/sdb2       135797445   156280319    10241437+   f  W95 Ext'd (LBA)
/dev/sdb5       135797508   156280319    10241406    7  HPFS/NTFS

Disk /dev/sdd: 7948 MB, 7948206080 bytes
81 heads, 10 sectors/track, 19165 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *        8192    15523839     7757824    b  W95 FAT32

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5b927741

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1              63  1953520064   976760001    c  W95 FAT32 (LBA)
[root@localhost ~]#


menu.lst shows

Code: [Select]
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd2,6)/boot/gfxmenu
default 0

title linux
kernel (hd2,6)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=1fb5ed40-1cb7-48e6-bf0f-f77aa98793c6  quiet vmalloc=256M acpi=on resume=UUID=3e1414f7-0c64-4e1c-9dcd-3ca15272159c splash=silent vga=788
initrd (hd2,6)/boot/initrd.img

title linux-nonfb
kernel (hd2,6)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=1fb5ed40-1cb7-48e6-bf0f-f77aa98793c6  quiet vmalloc=256M acpi=on resume=UUID=3e1414f7-0c64-4e1c-9dcd-3ca15272159c
initrd (hd2,6)/boot/initrd.img

title failsafe
kernel (hd2,6)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=1fb5ed40-1cb7-48e6-bf0f-f77aa98793c6  quiet failsafe vmalloc=256M acpi=on
initrd (hd2,6)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title windows1
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

title windows2
root (hd2,0)
map (0x82) (0x80)
map (0x80) (0x82)
makeactive
chainloader +1

Offline marcin82

  • Full Member
  • ***
  • Posts: 128
  • Jest wirek - jest impreza ;]
Re: grub error "no such partition"
« Reply #1 on: December 26, 2012, 01:49:41 AM »
Show result of bootinfoscript:
http://sourceforge.net/projects/bootinfoscript/?source=dlp
Run script as root:
Code: [Select]
su -c "bash /home/your_user_name/Downloads/bootinfoscript"Results will be written to RESULTS.txt file at /home/your_user_name/Downloads directory.
« Last Edit: December 26, 2012, 02:35:46 AM by marcin82 »
marcin'82

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: grub error "no such partition"
« Reply #2 on: December 26, 2012, 02:31:03 AM »
The latest KDE distro is 2012.12.  It is available via bit torrent here: http://www.terasaur.org/torrent/download/ad2e85ea6cd5bf999bf98639e4e0f9a9ea4b3efd/pclinuxos-kde-2012.12.iso.torrent.  If you have access to a working machine I would download that to try as a first step.

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline metro

  • Full Member
  • ***
  • Posts: 109
Re: grub error "no such partition"
« Reply #3 on: December 26, 2012, 06:32:59 AM »
thanks guys
@ marcin82
I get
Code: [Select]
bash: /home/laurie/Downloads/bootinfoscript: No such file or directory
[root@localhost Downloads]#

@russell
yep just did that russell and same issue

after some trial and error I got the OS started
by modifying the boot menu screen that pops up after the initial failure

I (e)dit it and change it to
Code: [Select]
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=1fb5ed40-1cb7-48e6-bf0f-f77aa98793c6  quiet vmalloc=256M acpi=on resume=UUID=3e1414f7-0c64-4e1c-9dcd-3ca15272159c splash=silent vga=788
initrd (hd0,6)/boot/initrd.img

and all is good till a reboot , seems that change is not saved


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10664
  • MLUs Forever!
Re: grub error "no such partition"
« Reply #4 on: December 26, 2012, 07:16:07 AM »
thanks guys
@ marcin82
I get
Code: [Select]
bash: /home/laurie/Downloads/bootinfoscript: No such file or directory
[root@localhost Downloads]#

@russell
yep just did that russell and same issue

after some trial and error I got the OS started
by modifying the boot menu screen that pops up after the initial failure

I (e)dit it and change it to
Code: [Select]
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=1fb5ed40-1cb7-48e6-bf0f-f77aa98793c6  quiet vmalloc=256M acpi=on resume=UUID=3e1414f7-0c64-4e1c-9dcd-3ca15272159c splash=silent vga=788
initrd (hd0,6)/boot/initrd.img

and all is good till a reboot , seems that change is not saved



Yes, editing the boot menu at the Grub screen is temporary and only for that boot.

Edit the   /boot/grub/menu.lst   file to make you edits permanent.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline metro

  • Full Member
  • ***
  • Posts: 109
Re: grub error "no such partition"
« Reply #5 on: December 26, 2012, 02:54:16 PM »
thanks Just17
1/2 way there now, it seems grub can't find
the graphical menu.
it drops back to the character menu
pressing enter gets the OS to fire-up

will delve some more

thanks for the help so far

metro


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10664
  • MLUs Forever!
Re: grub error "no such partition"
« Reply #6 on: December 26, 2012, 03:09:32 PM »
thanks Just17
1/2 way there now, it seems grub can't find
the graphical menu.
it drops back to the character menu
pressing enter gets the OS to fire-up

will delve some more

thanks for the help so far

metro



Check the location given for the graphic in the menu.lst file.

Likely it too needs to be edited in similar fashion.  ;)

This should do it

gfxmenu (hd0,6)/boot/gfxmenu

« Last Edit: December 26, 2012, 03:11:48 PM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT