Linux - NewbieThis 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
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.
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3825 30724281 7 HPFS/NTFS
/dev/hda2 3826 14946 89329432+ f W95 Ext'd (LBA)
/dev/hda5 3826 5100 10241406 7 HPFS/NTFS
/dev/hda6 5101 9562 35840983+ 7 HPFS/NTFS
/dev/hda7 9563 14946 43246948+ 7 HPFS/NTFS
Disk /dev/hdd: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track 24321 cylinders
Units = cylinders of 16065 * 512 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 3144 25254148+ 7 HPFS/NTFS
/dev/hdd2 3145 24321 170104252+ f W95 Ext'd (LBA)
/dev/hdd5 3145 6169 24298281 83 Linux
/dev/hdd6 6170 12096 47608596 7 HPFS/NTFS
/dev/hdd7 12097 18250 49421973+ 7 HPFS/NTFS
/dev/hdd8 18251 24321 48765276 7 HPFS/NTFS
after that i did
Code:
grub-install --recheck /dev/hda
Installation finished. No error reported
This is contents of the device map /boot/grub/device.map
check if this is correct or not. if any of the lines is incorrect, fix it and re-run the script 'grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdd
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd2,4)
# kernel /boot/vmlinuz-version ro root=/dev/hdd5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=30
splashimage=(hd2,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd3,4)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Windows XP Prfessional
rootnoverify (hd0,0)
chainloader +1
The device syntax used in GRUB is a wee bit different from what you may have seen before in your operating system(s), and you need to know it so that you can specify a drive/partition.
Look at the following examples and explanations:
(fd0)
First of all, GRUB requires that the device name be enclosed with `(' and `)'. The `fd' part means that it is a floppy disk. The number `0' is the drive number, which is counted from zero. This expression means that GRUB will use the whole floppy disk.
(hd0,1)
Here, `hd' means it is a hard disk drive. The first integer `0' indicates the drive number, that is, the first hard disk, while the second integer, `1', indicates the partition number (or the pc slice number in the BSD terminology). Once again, please note that the partition numbers are counted from zero, not from one. This expression means the second partition of the first hard disk drive. In this case, GRUB uses one partition of the disk, instead of the whole disk.
(hd0,4)
This specifies the first extended partition of the first hard disk drive. Note that the partition numbers for extended partitions are counted from `4', regardless of the actual number of primary partitions on your hard disk
IDE Cntroller Both
PCI IDE Bus Master Enabled
Hard Disk Pre-Delay Disabled
• Primary IDE Master Maxtor 6Y120P0
Drive Installed Maxtor 6Y120P0
Type Auto
Maximum Capacity 117246MB
Configuration Options Selected by BIOS
LBA Mode Contro Enabled
Multi-Sector Transfers 16 Sectors
PIO Mode Mode 4
Ultra DMA Mode 5
Cable Detected 80 Conductor
• Primary IDE Slave WDC WD400EB-11CPFO
Drive Installed WDC WD400EB-11CPFO
Type Auto
Maximum Capacity 38166MB
Configuration Options Selected by BIOS
LBA Mode Control Enabled
Multi-Sector Transfers 16 Sectors
PIO Mode Mode 4
Ultra DMA Mode 5
Cable Detected 80 Conductor
• Secondary IDE Master _NEC DVD_RW ND-3540A
Drive Installed _NEC DVD_RW ND-3540A
Type Auto
Configuration Options Selected by BIOS
LBA Mode Control Enabled
Multi-Sector Transfers Disabled
PIO Mode Mode 4
Ultra DMA Mode 2
Cable Detected 80 Conductor
• Secondary IDE Slave ST3200822A
Drive Installed ST3200822A
Type Auto
Maximum Capacity 131071MB
Configuration Options Selected by BIOS
LBA Mode Control Disabled
Multi-Sector Transfers 16 Sectors
PIO Mode Auto
Ultra DMA Disabled
Cable Detected 80 Conductor
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.