Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4961 39845956+ 7 HPFS/NTFS
/dev/sda2 4961 5614 5242880 83 Linux
/dev/sda3 5614 9791 33554432 83 Linux
/dev/sda4 9792 30401 165549761+ 5 Extended
/dev/sda5 9792 10314 4194304 82 Linux swap / Solaris
/dev/sda6 10314 23079 102538240 83 Linux
/dev/sda7 23079 28954 47185920 83 Linux
/dev/sda8 28954 30401 11627520 b W95 FAT32
I have tried installing Windows and then Redhat, everything was working very smooth. Then on logical volume i installed debian squeeze. The immediate problem after installing squeeze was that i am unable to boot my windows partition.
detailed information of my partitions
/dev/sda1 --> windows
/dev/sda2 --> boot partition
/dev/sda3 --> redhat partition
/dev/sda4 --> extended
/dev/sda5 --> swap
/dev/sda6 --> debian
/dev/sda7 --> common partition which i named library, all my ebooks data movies are placed here.
/dev/sda8 --> is vfat partition, used for sharing common files such as setups
my grub.conf looks like:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Debian GNU / LINUX
root (hd0,1)
kernel /vmlinuz-2.6.32-5-686 rw-o root=/dev/sda6
initrd /initrd.img-2.6.32-5-686
title Red Hat Enterprise Linux (2.6.32-131.0.15.el6.i686)
root (hd0,1)
kernel /vmlinuz-2.6.32-131.0.15.el6.i686 ro root=UUID=5a22d46d-e11e-433b-8266-0f0f2b02bc35 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-131.0.15.el6.i686.img
title Other
rootnoverify (hd0,0)
chainloader +1
NOTE:-
i have tried doing fixmbr and fixboot, still no help, so i reinstalled grub.
Last edited by hasanatizaz; 12-05-2011 at 12:12 PM.
I have windows thrown in for a brief while on a second hard disk (sdb) and it needs to think it's the only one there - like the Old joke about Jehovah's Witnesses (in heaven). The way to achieve that is to insert these lines after the 'Other'
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files: /boot.ini /ntldr /NTDETECT.COM
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Red Hat Enterprise Linux Server
release 6.1 (Santiago) Kernel on an
Boot files: /etc/fstab
File system: vfat
Boot sector type: FAT32
Boot sector info: According to the info in the boot sector, sda8 starts
at sector 0. But according to the info from fdisk,
sda8 starts at sector 465135616.
Operating System:
Boot files:
--------------------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Debian GNU / LINUX
root (hd0,1)
kernel /vmlinuz-2.6.32-5-686 rw-o root=/dev/sda6
initrd /initrd.img-2.6.32-5-686
title Red Hat Enterprise Linux (2.6.32-131.0.15.el6.i686)
root (hd0,1)
kernel /vmlinuz-2.6.32-131.0.15.el6.i686 ro root=UUID=5a22d46d-e11e-433b-8266-0f0f2b02bc35 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-131.0.15.el6.i686.img
title Other
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
--------------------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Debian GNU / LINUX
root (hd0,1)
kernel /vmlinuz-2.6.32-5-686 rw-o root=/dev/sda6
initrd /initrd.img-2.6.32-5-686
title Red Hat Enterprise Linux (2.6.32-131.0.15.el6.i686)
root (hd0,1)
kernel /vmlinuz-2.6.32-131.0.15.el6.i686 ro root=UUID=5a22d46d-e11e-433b-8266-0f0f2b02bc35 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
initrd /initramfs-2.6.32-131.0.15.el6.i686.img
title Other
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda2 /boot ext4 defaults 0 0
/dev/sda6 / ext4 defaults 0 0
proc /proc proc defaults 0 0
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/sda7 /Library ext4 defaults 0 0
/dev/sda8 /Shared vfat defaults,user 0 0
--------------------------------------------------------------------------------
=================== sda6: Location of files loaded by Grub: ====================
You do not need the dev mapping, remove it from the menu. I do not see anything wrong otherwise. You say grub hangs, where does it stop? Are there any errors? Is there a windows splash screen?
no the error is flashing cursor( _ sign) when i select Others ( refering to Windows XP).
yes i know mapping there was placed after business_kid's reply otherwise it was
rootnoverify (hd0,0)
chainloader +1
Last edited by hasanatizaz; 12-06-2011 at 06:15 AM.
When trying to prop up some failed windows version, I came across windows-version rescue cds. Apparently to avoid breaking copyright, they have few(if any) windows files on them, but use the ones on your hard disk. I have a vista rescue cd (made at the time) and it restores backups, fixes some boot problems and generally tries to fix problems.
google for 'windows <version> rescue cd' and try your luck. It sounds as if you need a bit of luck.
What happened when you type these on grub command prompt?
(boot as usual on grub menu press C to enter command-line).
Don't forget to press Enter after each line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.