I installed another linux opensuse, opensuse does not turn on

Hello

I ınstalled another linux on opensuse 11.opensuse does not turn on.
but it works the other operating system(redhat)

I ran the following command.

fdisk -l
device boot start end block Id system
/dev/sda1/ 1 262 21003296 82 linux swap / solaris

Partition 1 does not end on cylinder boundray

/dev/sda2/ * 262 2873 20972544 83 linux
/dev/sda3/ 2873 15622 102400000 83 linux
/dev/sda4/ 15622 60802 362909696 5 linüx
/dev/sda5/
/dev/sda6/

How can I solve this problem ?
how to work with both.

Welcome here (I see this is your first post).

Is this realy the whole and complete output of fdisk -l? When not then please try again and please, please put that computer text between CODE tags: Posting in Code Tags - A Guide .

It also would be nice to tell where (you think) you use these partitions for. The one on sda1 most probably for Swap, on the other disk you seem to have two partitions reserved for use as a Linux file system (but an fdisk -l output does not show the real usage), sda4 is the extended one (but what a strange name of the type 5!) and sda5 and sda6 are logical partitions without any further clarification??? Strange, very strange.

When you have RedHat running, post the output of

mount

here, this might reveal at least a bit about the usage from the RedHat side.

[root@redhat Desktop]# mount

/dev/mapper/vg_redhat-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext=“system_ubject_r:tmpfs_t:s0”)
/dev/sda5 on /boot type ext4 (rw)
/dev/mapper/vg_redhat-lv_home on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda3 on /media/c48a43a3-6500-42a2-b30a-099f7aa9a834 type ext4 (rw,nosuid,nodev,uhelper=udisks)

I am afraid I will become a bit nasty. I hope you understand and will carry on with giving information here in a way that make others here understanding you in a way that makes =them able into helping you.

I asked several things, but you only gave on answer. This is not going to work (in any case not within a week or so). I asked you:

  1. To convince us that this is your real *fdisk -l *output by repeating it and putting the whole between CODE tags. You didn’t.

  2. To give an explanation about the usage of the partitions from your point of vew. You didn’t, not even a “I do not know anything”, which would have given us at least some information.

  3. Yes, you answered the third question about the mount statement, but alas no CODE tags.

But that last output shows that you are using a volume manager of some type. Why didn’t you say anything about that? We are not clairvoyant. Please start with giving ALL the information that might be relevant. Starting with your disk partitioning, going on with any usage of those partitions. And of course when you come then to LVM usage, tell about it (preferable with vgdisplay and lvdisplay listings). Then cary on with how and where you want (or allready tried) to install openSUSE on. These are all riddles to us and you are the only one that knows about the previous installation of RedHat and what you did to install openSUSE.

I ran fdisk -l , below the current


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000eddf7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         262     2103296   82  Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2   *         262        2873    20972544   83  Linux
/dev/sda3            2873       15622   102400000   83  Linux
/dev/sda4           15622       60802   362909696    5  Extended
/dev/sda5           15622       15686      512000   83  Linux
/dev/sda6           15686       60802   362395648   8e  Linux LVM

Disk /dev/dm-0: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 313.2 GB, 313209651200 bytes
255 heads, 63 sectors/track, 38078 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

I ran mount:


[root@redhat Desktop]# mount
/dev/mapper/vg_redhat-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda5 on /boot type ext4 (rw)
/dev/mapper/vg_redhat-lv_home on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda3 on /media/c48a43a3-6500-42a2-b30a-099f7aa9a834 type ext4 (rw,nosuid,nodev,uhelper=udisks)

firatcanoglu first, please note we are all unpaid volunteer enthusiasts who run and participate on this forum. We are not paid to help you nor anyone else. We help here because we like openSUSE and we are enthusiasts.

Now you are very fortunate that hcvv is trying to help you.

For example, hcvv requested this:

your response is poor. Why force us to have to GUESS what you are trying to do when you have a problem. STATE what you think you have.

First, when you ran the ‘mount’ command, it appears you were runing from Red Hat. Is that correct ? [ie you are not running from a liveCD]

/dev/sda3 is an ext4 mounted on /media/… . What is /sdev/sda3 ? Is that the openSUSE / (root ? )
/dev/sda5 is an ext4 mounted on /boot … Is that a /boot specific to Red Hat ?
/dev/mapper/vg_redhad-lv_root on / … Is that the Red Hat / ?
/dev/mapper/vg_redhat-lv_home … Is that the Red Hat /home ?

are you trying to share a /home between Red Hat and openSUSE ?

What boot manager are you using with Red Hat ?

To have not explained very well Please excuse me

When I click on the computer icon on desktop
I see the two partitions

1.) 21GB filesystem (I have two directories (firatcanoglu(there are opensuse profle file inside this folder) and lost + found))

2.) 105GB filesystem (it has a lot to folder)

I have opensuse-related files inside of the two partitions

Thanks. I’m not very good at converting ‘blocks’ to GB to see what you are refering to. :frowning:

Could you provide the output of:


df -Th

that will provide information similar to ‘mount’ but it will convert it (hopefully) to GBytes. :slight_smile:

I ınstalled another linux on opensuse 11.opensuse does not turn on.
but it works the other operating system(redhat)

I am still completely at loss. What you had (RedHat or openSUSE)? What you did (installing another Linux on opeSUSE???)? What you problem is (openSUSE does not turn on, what is that, does it not boot?)?

And never the explanation I asked about what you think that those partitions are used for. And if you have logical voilume manager or similar. Not even that you do not know!

It looks like the OP has RedHat /boot in sda5, RedHat / and /home in a lvm on sda6 and RedHat’s Grub in MBR. He should try to chainload sda2 from RedHat’s Grub and see if it boots openSUSE. Since sda2 has the bootflag, it probably used to be openSUSE root partition (and possibly still is), sda3 could be openSUSE /home partition…

Just guessing what seems the most logical (assuming he didn’t overwrite anything).

That looks logical to me.



[root@redhat Desktop]# df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/vg_redhat-lv_root
              ext4     50G  2.3G   45G   5% /
tmpfs        tmpfs    994M  420K  994M   1% /dev/shm
/dev/sda5     ext4    485M   29M  431M   7% /boot
/dev/mapper/vg_redhat-lv_home
              ext4    288G  307M  273G   1% /home
[root@redhat Desktop]# 



http://www.firixbilisim.com/images/ScreenShot.pnghttp://www.firixbilisim.com/images/Screenshot.png

Dear firatcanoglu,

This is the last post I will do in this thread when you do not answer my questions. It is of no use to post further output or pictures about your disk partitions. Because most of the hard information we have allready. But I at least, am still wating for an answer to my question in post #2 above:

It also would be nice to tell where (you think) you use these partitions for.
Reworded in post #4 above:

  1. To give an explanation about the usage of the partitions from your point of vew. You didn’t, not even a “I do not know anything”, which would have given us at least some information.
    Repeated by oldcpu in post #6 above:

your response is poor. Why force us to have to GUESS what you are trying to do when you have a problem. STATE what you think you have.
The whole repeated in post #9 above:

I am still completely at loss. What you had (RedHat or openSUSE)? What you did (installing another Linux on opeSUSE???)? What you problem is (openSUSE does not turn on, what is that, does it not boot?)?

And never the explanation I asked about what you think that those partitions are used for. And if you have logical voilume manager or similar. Not even that you do not know!
This is followed by a lot of guessing by oldcpu and please_try_again, where you again do not have any comments on (not even that you have read and not understood them).

Most of us can give you no advice whatsoever based on guessing .

When I do not get any reaction again, I will stop my subscription to this thread.

Wishing you success with whatever you want to do.

Regards,

Nice screenshot but doesn’t tell us more than we already know.
I would assume RedHat uses Legacy Grub. Open a terminal and type:


su -c 'grub --version'

It should output something like

grub (GNU GRUB 0.97)

If you get an error message that the program is not installed or the file cannot be found, the OS might be using Grub2. In this case just typying update-grub might be enough.

If it uses Legacy Grub, would you please post the output of this command:

cat /boot/grub/grub.conf

And if this file doesn’t exist:

cat /boot/grub/menu.lst

We can then tell you what to add in this file in order to boot openSUSE. Actually, you would have to add the following at the end (always make a copy of it before editing) :

title openSUSE
root (hd0,1)
chainloader +1

You have to edit it as root, save, reboot, select openSUSE in the menu and press enter. It might work or not but it’s worth a try and it won’t hurt.

  • Under Fedora, Grub boot menu is called /boot/grub/grub.conf and /boot/grub/menu.lst (if it exists) is a symlink to this file. I presume that Redhat does the same.

@firatcanoglu

We mostly don’t need screenshots to figure out problems. But please understand that if a helper ask you a question, he expects an answer that will help him finding a solution, even if his question doesn’t make sense to you.

What can I say more ?
told everything I knew
this is my first experience with linux
you really do not know what we will describe.


[firatcanoglu@redhat Desktop]$ `grub --version`
Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

  Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]
grub> ^C



splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-71.el6.i686)
    root (hd0,4)
    kernel /vmlinuz-2.6.32-71.el6.i686 ro root=/dev/mapper/vg_redhat-lv_root rd_LVM_LV=vg_redhat/lv_root rd_LVM_LV=vg_redhat/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us nomodeset crashkernel=auto rhgb quiet
    initrd /initramfs-2.6.32-71.el6.i686.img


[root@redhat Desktop]# cat /boot/grub/menu.lst
# 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,4)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_redhat-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-71.el6.i686)
    root (hd0,4)
    kernel /vmlinuz-2.6.32-71.el6.i686 ro root=/dev/mapper/vg_redhat-lv_root rd_LVM_LV=vg_redhat/lv_root rd_LVM_LV=vg_redhat/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us nomodeset crashkernel=auto rhgb quiet
    initrd /initramfs-2.6.32-71.el6.i686.img

When you do not even know what you did, that is the end of it.
Why don’t you tell where you started? Did you have a RedHat installation running? Did you use that one? Was it working?
Did you decide to install openSUSE alongside it (multiboot) or to replace it?
How did you do that install? What was you starting point (the KDE dvd, or a network CD, or …)?
What did you do in the partition part of the installation? What did the installation process suggest you? Did you accept that, or changed you that proposal?
What do you see now when you boot? A boot menu or not?
I asked what you mean with “opensuse does not turn on.”? these sort of vgue descriptions tell another person next to nothing. Describve evrything you do and see.

When you can not answer at least some of these questions, nobody can help you.

Remember that YOU have the problem. WE are happy openSUSE users. We are willing to help those with problems, but when you can not even describe what your problem is with some exactness we are all lost.

Well, you know, multibooting can be a nice hobby, but as a Linux beginner, you’re not going to learn faster an better with two distros … on the contrary! You should first spend some time getting familiar with the basics - which are the same for all Linuxes - to be able to understand the questions and also know which questions to ask. Figuring out the right question is often more complicated than finding the correct answer.