LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-09-2010, 05:14 AM   #31
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216

That's right my friend.

He/she may need to backup personal data to dvd before trying this.

I strongly suggest this as a optimal solution, which may be prolong able.

If you delete a partition it may cause more problems down the road.

Like partitions being out of order.

Currently, as seen above, My home dir is sda6, but actually resides at the end of the drive,

which should be sda13, but that was because I changed the sizes of the minor partitions.

Once you have corrupted the file system so much a clean install is recommended.

Like with M$Win, repartition, reformat and reboot.

After all, It's just a PC.
 
1 members found this post helpful.
Old 12-09-2010, 05:19 AM   #32
sinvikram
LQ Newbie
 
Registered: Dec 2009
Posts: 28
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by markush View Post
Well, I would delete the partition /dev/sda3 and reboot the system. This may be dangerous in so far as Ubuntu may have problems.
Otherwise (in this case) one can recover the partitiontable without loss of data.
The question remains if sinvikram will be able to recover his system if Ubuntu doesn't boot anymore?
Hi doesn't have a bootable Live-CD yet.
I'm using Slax in such cases, a small Slackware-based Live-CD http://www.slax.org/ which can also be used with a USB-drive.
This has to be tested before altering the partitiontable, a bootable CD must be available.

Markus
Marcus i do have ubuntu 9.10 live cd and i can reboot from tht if some problem occurs ,,but the problem is tht if some problem did actually occur i may not be able to use the net and thus my contact with u guys will be broken and i wont be able to do anything without help from u guys....ubuntu is working fine and
as u have said to delete the partition /dev/sda3 ..i guess tht was my swap partition and dev/sda2 is just my independent data partition tht i created with the help of gparted.
actually i wanted to make an independent data partition as my hard disk small only 40 gb..so tht if in future i wanted to try some other distro i can do so without affecting the data stored on the independent partition ....
dev/sda one is the / mount point ext4 and dev/sda3 was the swap ...but it is showing something else in the gparted as "unknown"......dont know what is this happening ...
guys please tell me if this problem can be solved or is it just going to waste ur time and mine too......whatever the case may be i am able to learn a lot of things in association of u guys and i thank a lot to all the participants in this thread ..all of u are great guys ..all the best and god bless u all
 
Old 12-09-2010, 05:26 AM   #33
sinvikram
LQ Newbie
 
Registered: Dec 2009
Posts: 28
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GlennsPref View Post
That's right my friend.

He/she may need to backup personal data to dvd before trying this.

I strongly suggest this as a optimal solution, which may be prolong able.

If you delete a partition it may cause more problems down the road.

Like partitions being out of order.

Currently, as seen above, My home dir is sda6, but actually resides at the end of the drive,

which should be sda13, but that was because I changed the sizes of the minor partitions.

Once you have corrupted the file system so much a clean install is recommended.

Like with M$Win, repartition, reformat and reboot.

After all, It's just a PC.
yes i have removed all the personal data from my computer now into dvd and usbs available to me ..and i am a guy not a girl ..heee
 
Old 12-09-2010, 05:32 AM   #34
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Linux is able to survive with a / and swap partitions.

so, maybe you can squeeze to a 15Gb partition.

But it won't be big enough to continue for long.

That may give you the opportunity to get the mandriva system running.

But then you (he) may have to consolidate you other dirs to make room for you.

If you have no real data to keep, just go for it and delete all the partitons and start again.

Backup to dvd if you can.

Cheers, Glenn

Last edited by GlennsPref; 12-09-2010 at 05:33 AM. Reason: no offence intended.
 
1 members found this post helpful.
Old 12-09-2010, 05:46 AM   #35
sinvikram
LQ Newbie
 
Registered: Dec 2009
Posts: 28
Blog Entries: 2

Original Poster
Rep: Reputation: 0
so u want tht i should delete all the partitions. ok will do tht ..but should i delete /dev/sda1 also on which ubuntu is installed??? ,,,hhmmm if u have somethng else to say before my doing so kindly tell me ,,becoz after my doing so ..it may take time for me to actually post here so quickly.....sir GlensPref and markush sir ...give me ur last instructions before i can proceed further....
hoping against the hope .tht it may work
 
Old 12-09-2010, 05:48 AM   #36
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
If you cam make it work with out repartitioning sda1 well and good, but if not, you can always re-install it.

regards Glenn
 
Old 12-09-2010, 05:57 AM   #37
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
But leavind sda1 should be OK.

That should (but may not) give you enough to re-gain you Operating system as well as a new system like Mandriva..

Personally I find Mandriva to be the most configurable OS in existence, although I have not tried slackware (I use slax live) or gentoo, but my superiors/gurus do.

Always remember, Linux is the Kernel (applicable to all GNU/Linux systems.), not just the desktop.

I care so much, that I will post you a dvd in the mail if required. Just let me know!

3 or 4 dollars is easy.

Regards Glenn.
 
Old 12-09-2010, 06:12 AM   #38
sinvikram
LQ Newbie
 
Registered: Dec 2009
Posts: 28
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Cool

Quote:
Originally Posted by GlennsPref View Post
But leavind sda1 should be OK.

That should (but may not) give you enough to re-gain you Operating system as well as a new system like Mandriva..

Personally I find Mandriva to be the most configurable OS in existence, although I have not tried slackware (I use slax live) or gentoo, but my superiors/gurus do.

Always remember, Linux is the Kernel (applicable to all GNU/Linux systems.), not just the desktop.

I care so much, that I will post you a dvd in the mail if required. Just let me know!

3 or 4 dollars is easy.

Regards Glenn.
sir Glanpref hmm u seem to be so generous yes i am desiring to request you for the dvd. as a kind of blessing from a superior like u it will be great as long as it is not a burden on ur pockets as i live in India and mailing a dvd costs a lot i guess...thank u very very much for ur kindness...meanwhile i can try what u have told me if tht worked will let u know ....thank u once again
 
Old 12-09-2010, 06:20 AM   #39
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
After all in my opinion a clean install is the best choice to get the system working over long.

I would do the partitioning manually with fdisk (or cfdisk).

As an example: /dev/sda1 8GB, /dev/sda2 8GB, both / partitions for a Linuxsystem. /dev/sda3 1GB swap.
/dev/sda4 extended, the rest of the disk. /dev/sda5 logical /home for Ubuntu, /dev/sda6 2GB /home for Mandriva, the rest /dev/sda7 about 19GB mounted in /usr/local/public on both, Ubuntu and Mandriva.

This is similar to my setup. The seperate homepartitions are useful in order to use different versions of programms (which is inevitable when using different distributions). The public-directory will store most personal data.

Here my system as an example: df -h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              35G  9.2G   24G  28% /
/dev/sda10            7.9G  2.9G  4.6G  39% /home
/dev/sda11             50G   22G   26G  46% /usr/local/public
/dev/sda12            9.9G  1.2G  8.2G  13% /usr/local/lfs
/dev/sda5              35G   11G   23G  32% /usr/local/gentoo
/dev/sda6              35G  8.9G   24G  28% /usr/local/arch
tmpfs                 1.6G     0  1.6G   0% /dev/shm
/dev/sda3              51G   30G   22G  58% /usr/local/win7
and fdisk -l
Code:
 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1959    15728640   27  Unknown
/dev/sda2   *        1959        1972      102400    7  HPFS/NTFS
/dev/sda3            1972        8621    53411840    7  HPFS/NTFS
/dev/sda4            8621       38913   243324768+   5  Extended
/dev/sda5            8621       13190    36704739+  83  Linux
/dev/sda6           13191       17760    36708493+  83  Linux
/dev/sda7           17761       17826      530113+  82  Linux swap
/dev/sda8           17827       18871     8393931   83  Linux
/dev/sda9           18872       23441    36708493+  83  Linux
/dev/sda10          23442       24486     8393931   83  Linux
/dev/sda11          24487       31014    52436128+  83  Linux
/dev/sda12          31015       32320    10485760   83  Linux
/dev/sda13          32320       33364     8389559+  83  Linux
/dev/sda14          33365       38913    44572311   83  Linux
Markus
 
Old 12-09-2010, 06:28 AM   #40
sinvikram
LQ Newbie
 
Registered: Dec 2009
Posts: 28
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
After all in my opinion a clean install is the best choice to get the system working over long.

I would do the partitioning manually with fdisk (or cfdisk).

As an example: /dev/sda1 8GB, /dev/sda2 8GB, both / partitions for a Linuxsystem. /dev/sda3 1GB swap.
/dev/sda4 extended, the rest of the disk. /dev/sda5 logical /home for Ubuntu, /dev/sda6 2GB /home for Mandriva, the rest /dev/sda7 about 19GB mounted in /usr/local/public on both, Ubuntu and Mandriva.

This is similar to my setup. The seperate homepartitions are useful in order to use different versions of programms (which is inevitable when using different distributions). The public-directory will store most personal data.

Here my system as an example: df -h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              35G  9.2G   24G  28% /
/dev/sda10            7.9G  2.9G  4.6G  39% /home
/dev/sda11             50G   22G   26G  46% /usr/local/public
/dev/sda12            9.9G  1.2G  8.2G  13% /usr/local/lfs
/dev/sda5              35G   11G   23G  32% /usr/local/gentoo
/dev/sda6              35G  8.9G   24G  28% /usr/local/arch
tmpfs                 1.6G     0  1.6G   0% /dev/shm
/dev/sda3              51G   30G   22G  58% /usr/local/win7
and fdisk -l
Code:
 Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1959    15728640   27  Unknown
/dev/sda2   *        1959        1972      102400    7  HPFS/NTFS
/dev/sda3            1972        8621    53411840    7  HPFS/NTFS
/dev/sda4            8621       38913   243324768+   5  Extended
/dev/sda5            8621       13190    36704739+  83  Linux
/dev/sda6           13191       17760    36708493+  83  Linux
/dev/sda7           17761       17826      530113+  82  Linux swap
/dev/sda8           17827       18871     8393931   83  Linux
/dev/sda9           18872       23441    36708493+  83  Linux
/dev/sda10          23442       24486     8393931   83  Linux
/dev/sda11          24487       31014    52436128+  83  Linux
/dev/sda12          31015       32320    10485760   83  Linux
/dev/sda13          32320       33364     8389559+  83  Linux
/dev/sda14          33365       38913    44572311   83  Linux
Markus
but what i actually trying all this is for the following reason: i wanted a separate personal data partition which can always remain safe even if somethng wrong happens in the system or i have to try a different distro or any other situation......as the hard disk is just 40 gb and i wanted tht the / should be 10 gb and i gb swap and the restr for extended ondependent data partition ...thanks
 
Old 12-09-2010, 06:33 AM   #41
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Well, my partition which is mounted in /usr/local/public is independend, it stays unchanged when I install another distribution.

Be aware that "really independend" is only a separate disk since if the disk crashes the data are lost anyway.

Markus
 
Old 12-09-2010, 06:58 AM   #42
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
It's a good idea to have /usr/local on a separate partition as long as the source directories are accessible.

Like /home/$USER/programs

Then if you upgrade the system all you need to do is reinstall the programs.

But if you upgrade glibc.so you'll probably have to start again (remake) because the libraries version has changed.

So, don't upgrade glibc.so unless you have to.

Regards Glenn
 
Old 12-09-2010, 07:42 AM   #43
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by GlennsPref View Post
...But if you upgrade glibc.so you'll probably have to start again (remake) because the libraries version has changed.

So, don't upgrade glibc.so unless you have to...
yes, you're right, but with Gentoo it's no problem and with Slackware I do always a reinstallation when upgrading libraries.
As I wrote above Slackware comes with a minimal install-USB-boot image. I use to load all packages down (with wget), store it in the /home directory (which remains unchanged) and then use the option "install from a premounted directory". I've done this with a fast Laptop with a downtime under 8 Minutes ... well, I'm using Slackware since more than 16 years...

Markus
 
Old 12-14-2010, 03:53 AM   #44
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, above, #2, I mentioned some cli switches to use with the kernel.

The one that controls the harddrive (ide controller) is msi

Type,
Code:
pci=nomsi
Sorry this is soo... late.

I just remembered....

Regards Glenn

Last edited by GlennsPref; 12-14-2010 at 03:56 AM. Reason: link to post 2
 
  


Reply

Tags
mandriva


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
Linux is loosing its weight/impact by dropping compatiblity with older hardware. gdmellott General 13 07-13-2008 11:34 AM
Hardware compatiblity frozendice Linux - Hardware 3 02-19-2007 07:00 AM
unix compatiblity perdesiz Solaris / OpenSolaris 2 02-04-2004 04:37 AM
unix compatiblity perdesiz Linux - Software 4 01-23-2004 06:13 AM
Mandrake and Debian compatiblity inkysplat Linux - General 4 01-10-2004 08:46 AM


All times are GMT -5. The time now is 06:39 PM.

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