LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub and Mounting problem (https://www.linuxquestions.org/questions/linux-newbie-8/grub-and-mounting-problem-669252/)

jestinjoy 09-11-2008 11:56 AM

Grub and Mounting problem
 
Hi,
I am a new user of suse 11.0. I had a 80 GB SATA hard disk with Windows Xp(sda1) and SUSE installed.Later when I re-installed XP I hadnt been able to boot to SUSE. So I repaired the GRUB using SUSE 11.0 DVD. I also bought another 80 GB hard disk partitioned in NTFS.

1) MY first problem is that GRUB doesnt show Windows as boot option.
2) SUSE doesn,t show the newer harddrive contents.

Please help.........

The output of the command fdisk -l is given below
Quote:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7cef7cef

Device Boot Start End Blocks Id System
/dev/sda1 * 1 765 6144831 7 HPFS/NTFS
/dev/sda2 766 9728 71995297+ f W95 Ext'd (LBA)
/dev/sda5 766 3315 20482843+ 7 HPFS/NTFS
/dev/sda6 3316 5865 20482843+ 7 HPFS/NTFS
/dev/sda7 5866 7777 15358108+ 7 HPFS/NTFS
/dev/sda8 7778 7839 497983+ 82 Linux swap / Solaris
/dev/sda9 7840 9728 15173361 83 Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x01ad01ad

Device Boot Start End Blocks Id System
/dev/sdb1 1 3187 25599546 7 HPFS/NTFS
/dev/sdb2 3188 9728 52540582+ f W95 Ext'd (LBA)
/dev/sdb5 3188 6374 25599546 7 HPFS/NTFS
/dev/sdb6 6375 9728 26940973+ 7 HPFS/NTFS

yancek 09-11-2008 03:26 PM

Take a look at your /boot/grub/menu.lst file to see if there is an entry for windows, should look like this:

title windows
rootnoverify (hd0,0)
chainloader +1

Need a space after chainloader and that's a number one, not a letter L.
If you want to see the ntfs partitions on the second drive from opensuse, you will need to mount them and put an entry in /etc/fstab. Post again if you're not sure how to do this.

jestinjoy 09-11-2008 09:46 PM

re
 
no windows entry in menu.lst. Added it and it works. Thank you for the help

How to solve my second problem...........

My fstab look like this.........

Quote:

/dev/disk/by-id/scsi-SATA_ST380217AS_5RA6PKNT-part8 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_ST380215AS_5RA6PKNT-part9 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST380215AS_5RA6PKNT-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST380215AS_5RA6PKNT-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST380215AS_5RA6PKNT-part6 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST380215AS_5RA6PKNT-part7 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
how to add my new hard disks entries into it. It is an 80 Gb SATA from a different manufacturer with 3 NTFS partitions...........

yancek 09-12-2008 12:06 AM

Your fstab file has entries for your windows partitions on the first disk. You will need mount points for the partitions on the second drive and since you have used C, D, E, and F you could use other letters for the three partitions on the second drive or simply create directories sdb1, sdb5 and sdb6 as directories in your windows directory.

You will then need entries which include the drive name which you should be able to get with the command 'dmesg |grep sdb' and you will need the UUID which you can get with command 'blkid' or with command 'tune2fs -l /dev/sdb1' or 'ls -l /dev/disk/by-uuid'. Last two commands as root. The rest of the entries will be the same as your other fstab entries. The part in the entries refers to the partition number.

ashok v 09-13-2008 02:03 AM

in my virtual PC Linux kernel panic is not working what to do please send me the solution

yancek 09-13-2008 09:45 AM

You need to post more specifics, error message you are getting, what messages you get just before the 'kernel panic' line. I'd suggest starting a new thread specific to the problem.


All times are GMT -5. The time now is 03:12 PM.