LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-11-2008, 12:56 PM   #1
jestinjoy
Member
 
Registered: May 2004
Location: India
Distribution: Ubuntu 9.04, Debian Lenny
Posts: 121

Rep: Reputation: 22
Post 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
 
Old 09-11-2008, 04:26 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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.
 
Old 09-11-2008, 10:46 PM   #3
jestinjoy
Member
 
Registered: May 2004
Location: India
Distribution: Ubuntu 9.04, Debian Lenny
Posts: 121

Original Poster
Rep: Reputation: 22
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...........

Last edited by jestinjoy; 09-11-2008 at 10:51 PM. Reason: error in typing
 
Old 09-12-2008, 01:06 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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.
 
Old 09-13-2008, 03:03 AM   #5
ashok v
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
in my virtual PC Linux kernel panic is not working what to do please send me the solution
 
Old 09-13-2008, 10:45 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no windows option in grub.tried mounting timberwolf90 Linux - Newbie 9 11-07-2007 07:05 PM
Installing GRUB and mounting my HDD on DSL thru USB? avD,ZeeK DamnSmallLinux 0 10-24-2007 09:52 AM
Grub prohibits CD-ROM from mounting in WinXP geodd Linux - General 3 08-17-2006 10:28 AM
Mounting issues in Grub kokoba Linux - Laptop and Netbook 9 03-11-2006 11:23 AM
rh9: mounting fat32 and grub problems psicokhel Linux - General 6 09-17-2003 11:52 PM


All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration