LinuxQuestions.org
Visit Jeremy's Blog.
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 02-18-2014, 05:44 PM   #31
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,431

Rep: Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471

Quote:
Unless I'm mistaken the core.img entry with grub legacy won't work unless grub legacy is fixed with a patch to boot ext4,
That could be the problem. I remember reading that booting ext4 partitions with Grub Legacy was a problem. Running PCLinuxOS here, it still uses Grub Legacy and booting with the core.img entry works fine so that may be the OP's problem.

I agree with the above post. Delete sda3 and sda4. You can then either create a data partition with the remaining space on sda2 which now only contains swap or you can delete the Extended partition which contains the swap, create a new swap partition in the Extended and resize your Mint partition to include the rest of the drive. I'd go with the first option, much easier since your Mint partition is already 250GB.
 
Old 02-18-2014, 07:12 PM   #32
FMCDH
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
So if I kill sda3-4 and reboot nothing evil will happen? No panic zombies will come out to wreck my day?
 
Old 02-18-2014, 09:51 PM   #33
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,431

Rep: Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471
Your previous post indicate Mint is on sda1. Since you can now boot Mint, when you do open a terminal and run this command: df
This should show output similar to below:

Code:
 
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        39G   14G   24G  36% /
If while booted into Mint you see '/dev/sda1' under the 'Filesystem' column and the root symbol (/ forward slash) under 'Mounted on', then you know Mint is on sda1. Running sudo fdisk -l will show you that sda2 is an Extended partition and sda5 is your swap. So deleting sda3 and sda4 should just delete your CentOS boot partition and the LVM partition. Just pay attention to what you are doing.
 
Old 02-18-2014, 10:55 PM   #34
FMCDH
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
Looks like its sda1..........

What happened to this one----> Disk /dev/mapper/VolGroup-lv_root doesn't contain a valid partition table

Do you know of a site that talks about all this sdaX partition stuff so i can learn more?

Thanks for the help!!

user@laptop ~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 238748256 47611264 178986208 22% /
none 4 0 4 0% /sys/fs/cgroup
udev 1014564 12 1014552 1% /dev
tmpfs 205496 1284 204212 1% /run
none 5120 0 5120 0% /run/lock
none 1027464 940 1026524 1% /run/shm
none 102400 36 102364 1% /run/user
user@laptop ~ $ df

.................................................................................................... ................
user@laptop ~ $ sudo fdisk -l
[sudo] password for user:

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

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 485378047 242688000 83 Linux
/dev/sda2 972599294 976771071 2085889 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3 485378048 486402047 512000 83 Linux
/dev/sda4 486402048 972597247 243097600 8e Linux LVM
/dev/sda5 972599296 976771071 2085888 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_root doesn't contain a valid partition table

Disk /dev/mapper/VolGroup-lv_home: 191.0 GB, 191012798464 bytes
255 heads, 63 sectors/track, 23222 cylinders, total 373071872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_home doesn't contain a valid partition table

Disk /dev/mapper/VolGroup-lv_swap: 4227 MB, 4227858432 bytes
255 heads, 63 sectors/track, 514 cylinders, total 8257536 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/VolGroup-lv_swap doesn't contain a valid partition table

Last edited by FMCDH; 02-18-2014 at 11:04 PM.
 
Old 02-18-2014, 11:29 PM   #35
FMCDH
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
Ok that worked too....Thanks! I had to deactivate sda4 to delete it.

sda2 is empty do you know what its doing and do I need it? Its 1.99g with 100% free.
What does this mean---> Partition 2 does not start on physical sector boundary.
Why does sda5 say "solaris"

user@laptop ~ $ sudo fdisk -l
[sudo] password for user:

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

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 972597247 486297600 83 Linux
/dev/sda2 972599294 976771071 2085889 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 972599296 976771071 2085888 82 Linux swap / Solaris
user@laptop ~ $
 
Old 02-19-2014, 02:02 AM   #36
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137

Rep: Reputation: 52
/dev/sda2 shows to be the extended partition in your output of fdisk. It should be safe to get rid of it, but it looks like /dev/sda5 is your swap and may lie within the extended partition, judging by the sector counts. Both the extended and swap partitions end at 976771071. Not sure why it is seen as Solaris. If you want, you could use your install disk or a live CD to remove all partitions except for /dev/sda1 and then create a new swap, which should then be a new /dev/sda2

The "does not start on physical sector boundry" appears to be caused by a problem with sector size. From your fdisk:

"Sector size (logical/physical): 512 bytes / 4096 bytes"

From what I have read, it looks like the Centos partitioner may have had problems when it re-sized your original Mint partition and created the extended partition and LVM, due to the structure of the existing setup and sector size.

There is information at other places concerning the error. You can Google it if you want to know more. People seem to think that it is a minor error.
 
Old 02-19-2014, 05:30 AM   #37
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,324

Rep: Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578Reputation: 1578
[QUOTE]Why does sda5 say "solaris"/QUOTE] This is normal. If it was me I would leave things as they are. Gparted will most likely show sda1 (/) as a primary partition, sda2 as a extended partition and sda5 (swap/solaris} located within sda2, and free space following sda2. If you decide to try another distro don't select the lvm option during partitioning, and look for an option to install grub to the partition of the distro that you are installing if your not replacing mint.

Last edited by colorpurple21859; 02-19-2014 at 05:33 AM.
 
Old 02-19-2014, 09:36 AM   #38
FMCDH
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
Rodger that, leaving it alone.

Cent0s was a HUGE disappointment anyway. Nothing worked! All the fixes to fix the not working thing failed. It took 7 steps to fix one thing and all 7 steps usually didnt work. What a mess!!! If Mint was anything like C6 I would be back using winXP.
 
Old 02-19-2014, 09:53 AM   #39
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,431

Rep: Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471
Your Extended partition (sda2) is almost the exact size of your swap partition (sda5) so you seem to have it the way your originally did with Mint on one large partition and your swap in the Extended. I'd leave it the way it is.
 
Old 02-19-2014, 10:15 AM   #40
FMCDH
Member
 
Registered: Feb 2014
Posts: 35

Original Poster
Rep: Reputation: Disabled
Will do........

Thanks you VERY much everyone who helped me fix my computer. In the process of doing this I also accidentally erased my usb backup of all passwords and bookmarks when I installed tails (to test and try). So I really wanted to get this back up and running.

Not having your exact computer is like sleeping on a hotel pillow, its just not the same as "YOUR" pillow.


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Is there any site that has beginner 101 Linux FAQ?

I dont even know where Linux stores installed programs and stuff like that.


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Last edited by FMCDH; 02-19-2014 at 10:18 AM.
 
Old 02-19-2014, 05:23 PM   #41
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,431

Rep: Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471Reputation: 2471
Check out the links below.

http://www.tldp.org/sorted_howtos.html

http://www.linux.org/forums/beginner-tutorials.53/

http://www.ee.surrey.ac.uk/Teaching/Unix/
 
  


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
again-dual boot windows XP, 1st drive-linux Mepis 8.0 2nd drive marvinudy Linux - Newbie 2 06-09-2009 09:51 AM
Anxious on Dual Boot .... 1st HD=WINXP... 2nd HD=? Mustard010 Linux - General 1 11-26-2004 02:36 PM
FC2 install on 2nd drive, no dual-boot, will install modify 1st WinXP drive at all? Equisilus Fedora - Installation 14 06-27-2004 02:38 AM
Can't boot 1st OS now after installing 2nd jillyt Linux - Newbie 3 01-05-2004 05:01 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 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
Open Source Consulting | Domain Registration