[opensuse] Partition Resizing
I've been running OpenSuse 10.1 and subsequently 10.2 on a dual boot machine for some time now quite successfully. I'd like to ditch the Windows partition(s) altogether given that it hasn't been used for over 6 months and I can do everything I need to on OpenSuse. Is it possible to simply remove the Window partitions and reallocate to OpenSuse? Partition info: /dev/hda Disk 37.2G /dev/hda1 HPFS/NTFS 35G 18G 18G 50% /windows/C /dev/hdb Disk 74.5G /dev/hdb1 HPFS/NTFS 29G 25G 3.5G 88% /windows/D /dev/hdb2 Extended 33.3G /dev/hdb6 Linux Native 13G 8.6G 4.2G 68% / /dev/hdb7 Linux Native 19G 17G 2.3G 89% /home Ideally I would like to reallocate /dev/hdb1 to /dev/hdb2 then /dev/hdb7 Is this possible to do without loosing my / and /home data and if so which would be the most suitable tool. The Yast2 partition tool will not for example allow me to edit /dev/hdb2.
Colonel Orange wrote:
I've been running OpenSuse 10.1 and subsequently 10.2 on a dual boot machine for some time now quite successfully. I'd like to ditch the Windows partition(s) altogether given that it hasn't been used for over 6 months and I can do everything I need to on OpenSuse. Is it possible to simply remove the Window partitions and reallocate to OpenSuse? Partition info:
/dev/hda Disk 37.2G /dev/hda1 HPFS/NTFS 35G 18G 18G 50% /windows/C /dev/hdb Disk 74.5G /dev/hdb1 HPFS/NTFS 29G 25G 3.5G 88% /windows/D /dev/hdb2 Extended 33.3G /dev/hdb6 Linux Native 13G 8.6G 4.2G 68% / /dev/hdb7 Linux Native 19G 17G 2.3G 89% /home
Ideally I would like to reallocate /dev/hdb1 to /dev/hdb2 then /dev/hdb7
Is this possible to do without loosing my / and /home data and if so which would be the most suitable tool. The Yast2 partition tool will not for example allow me to edit /dev/hdb2.
You may want to have a look at this: http://gparted.sourceforge.net -- Geir A. Myrestrand -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 15 January 2007 16:41, Geir A. Myrestrand wrote:
/dev/hda Disk 37.2G /dev/hda1 HPFS/NTFS 35G 18G 18G 50% /windows/C /dev/hdb Disk 74.5G /dev/hdb1 HPFS/NTFS 29G 25G 3.5G 88% /windows/D /dev/hdb2 Extended 33.3G /dev/hdb6 Linux Native 13G 8.6G 4.2G 68% / /dev/hdb7 Linux Native 19G 17G 2.3G 89% /home
Ideally I would like to reallocate /dev/hdb1 to /dev/hdb2 then /dev/hdb7
You should read up on how partitions are numbered and what types there are first. For example: Primary partitions - numbered 1 thru 4 and you can only have 4 of them. One of those 4 *can* be an 'extended' partition such as you have with hdb2. Extended partition - is a partition which can hold 'logical' partitions... numbered 5 and up you can have more loigical partitions than you are likely to need except in the case of SATA (scsi) drives here you are limited to 15 (I think) Logical partitions -numbered 5 and up and are all contained in the extended partition. So to delete hdb1 and provide the space to hdb2 is fine (by moving the start of hdb2 up on the disk) but that wouldn't buy you anything until you also expanded hdb6 or 7 or make more partitions like 8,9, etc. You could also just reformat hdb1 and use it for linux. BTW, where is your swap space?
On Mon, Jan 15, 2007 at 09:19:53PM +0000, Colonel Orange wrote:
Is this possible to do without loosing my / and /home data and if so which would be the most suitable tool. The Yast2 partition tool will not for example allow me to edit /dev/hdb2.
Not directly, no. When I installed 10.2, I did everything other than root and swap on LVM for this reason. LVM lets you add and subtract from the pool of available disk space. Nothing stops you, of course, from just making a new filesystem on what used to be the Windows partition, then mounting it somewhere in /srv or /local. Failing that, back it up (endless solutions available), repartition it the way you want it, then put the data back. You'd want to back it up before you messed with the partition table in any case. -- Marc Wilson | "If you understand what you're doing, you're not msw@cox.net | learning anything." -- A. L.
Just loaded in compat-g77-3.3.5-17 on a Suse 10.1 box already installed with gcc-4.1.0-25 and cpp-4.1.0-25. The compat-g77 kit was installed from the Suse 10.1 distribution cd. Hit a problem when invoking g77 file g77: installation problem, cannot exec `cc1`: No such file or directory It appears compat-g77-3.3.5 is outdated and not compatible with gcc-4.1 and cpp-4.1. (strace shows it is expecting cc1 from a different location, and yet, cc1 from cpp-4 will get syntax errors if the work path is forced.) Applied yast online update, but no update found.
From google, a few other people have come across similar problem, though not exactly under suse.
Does anyone know which release of g77 works with gcc-4.1? Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-05-15 11:53, Chiu, PCM (Peter) wrote:
Just loaded in compat-g77-3.3.5-17 on a Suse 10.1 box already installed with gcc-4.1.0-25 and cpp-4.1.0-25. The compat-g77 kit was installed from the Suse 10.1 distribution cd.
Do you have gcc-fortran installed? -- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks, Darryl, Installed gcc-fortran-4.1, and the same piece of code compiles okay. What does that lead us with compat-g77-3.3.5? Peter -----Original Message----- From: Darryl Gregorash [mailto:raven@accesscomm.ca] Sent: 15 May 2007 19:02 To: opensuse@opensuse.org Subject: Re: [opensuse] cannot exec `cc1`: No such file or directory On 2007-05-15 11:53, Chiu, PCM (Peter) wrote:
Just loaded in compat-g77-3.3.5-17 on a Suse 10.1 box already installed with gcc-4.1.0-25 and cpp-4.1.0-25. The compat-g77 kit was installed from the Suse 10.1 distribution cd.
Do you have gcc-fortran installed? -- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-05-16 05:25, Chiu, PCM (Peter) wrote:
Thanks, Darryl,
Installed gcc-fortran-4.1, and the same piece of code compiles okay.
What does that lead us with compat-g77-3.3.5?
Presumably that package will provide compatibility with code written for g77-3.3.5, which is not necessarily going to be compatible with the fortran 4.1 compiler.
-- Moral indignation is jealousy with a halo. -- HG Wells -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Dienstag, 15. Mai 2007 schrieb Chiu, PCM (Peter):
Just loaded in compat-g77-3.3.5-17 on a Suse 10.1 box already installed with gcc-4.1.0-25 and cpp-4.1.0-25. The compat-g77 kit was installed from the Suse 10.1 distribution cd.
Hit a problem when invoking g77 file g77: installation problem, cannot exec `cc1`: No such file or directory Is that file really vanilla fortran77 ? Why does g77 try to start the C-Compiler ?
It appears compat-g77-3.3.5 is outdated and not compatible with gcc-4.1 and cpp-4.1. (strace shows it is expecting cc1 from a different location, and yet, cc1 from cpp-4 will get syntax errors if the work path is forced.)
Applied yast online update, but no update found.
From google, a few other people have come across similar problem, though
not exactly under suse.
Does anyone know which release of g77 works with gcc-4.1? There is no g77 for gcc-4.x. g77 is replaced by gfortran in gcc-4.x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks, Markus,
Is that file really vanilla fortran77 ? Why does g77 try to start the C-Compiler ?
Don't know, really. I assume, as the error message reflects, that it is something to do with the installation (of g77), and not the code itself.
There is no g77 for gcc-4.x. g77 is replaced by gfortran in gcc-4.x
Thanks. Installed gcc-fortran, and the same piece of code compiles okay. It is somewhat odd to find g77 not compiling though. Peter -----Original Message----- From: Markus Koßmann [mailto:mkossmann_ml1@gmx.de] Sent: 15 May 2007 19:29 To: opensuse@opensuse.org Subject: Re: [opensuse] cannot exec `cc1`: No such file or directory Am Dienstag, 15. Mai 2007 schrieb Chiu, PCM (Peter):
Just loaded in compat-g77-3.3.5-17 on a Suse 10.1 box already installed with gcc-4.1.0-25 and cpp-4.1.0-25. The compat-g77 kit was installed from the Suse 10.1 distribution cd.
Hit a problem when invoking g77 file g77: installation problem, cannot exec `cc1`: No such file or directory Is that file really vanilla fortran77 ? Why does g77 try to start the C-Compiler ?
It appears compat-g77-3.3.5 is outdated and not compatible with gcc-4.1 and cpp-4.1. (strace shows it is expecting cc1 from a different location, and yet, cc1 from cpp-4 will get syntax errors if the work path is forced.)
Applied yast online update, but no update found.
From google, a few other people have come across similar problem, though
not exactly under suse.
Does anyone know which release of g77 works with gcc-4.1? There is no g77 for gcc-4.x. g77 is replaced by gfortran in gcc-4.x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Bruce Marshall
-
Chiu, PCM (Peter)
-
Colonel Orange
-
Darryl Gregorash
-
Geir A. Myrestrand
-
Marc Wilson
-
Markus Koßmann