LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   grub editing problem in suse 11.0 (https://www.linuxquestions.org/questions/suse-opensuse-60/grub-editing-problem-in-suse-11-0-a-670579/)

mobinskariya 09-17-2008 12:37 PM

grub editing problem in suse 11.0
 
i had formatted sda1 with ext3 file system ..

when i tried to install grub and
tried to give the command it shows as

Code:

grub> root (hd0,1)
 Filesystem type unknown, partition type 0x7

the output of the command fdisk is


Code:

linux-81rn:/home/joby # fdisk -l

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

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1        852    6835200  27  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2  *        852        4499    29296640    7  HPFS/NTFS
/dev/sda3            4500        9729    42009975    f  W95 Ext'd (LBA)
/dev/sda5            4500        5774    10241406    7  HPFS/NTFS
/dev/sda6            5775        7049    10241406    7  HPFS/NTFS
/dev/sda7            7050        8324    10241406    7  HPFS/NTFS
/dev/sda8            8325        8454    1044193+  82  Linux swap / Solaris
/dev/sda9            8455        9729    10241406  83  Linux

and my mount command gives output as follows

Code:

linux-81rn:/home/joby # mount
/dev/sda9 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda1 on /mnt/lfs type ext3 (rw)
/dev on /mnt/lfs/dev type none (rw,bind)
devpts on /mnt/lfs/dev/pts type devpts (rw)
shm on /mnt/lfs/dev/shm type tmpfs (rw)
proc on /mnt/lfs/proc type proc (rw)
sysfs on /mnt/lfs/sys type sysfs (rw)
/dev/sdb1 on /media/JESTIN JOY type vfat (rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower)


ionmich 09-17-2008 05:01 PM

As I see it cylinder 852 has been assigned to two different partitions. You can't do that. I imagine you have data on both partitions in which case you're likely to lose some of it if you re-partition. I don't see a solution.


All times are GMT -5. The time now is 02:40 AM.