LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-09-2017, 01:21 PM   #1
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Rep: Reputation: 20
Installation failure with disk partition


I Know. I just posted that I wanted to take a break but I really like Debian and I miss it.

My last install everything was fine until I got to disk partitioning. I selected /dev/sda2 formatted it as ext4 and mounted it as /. I have done a lot of installations of linux distros so I am very familiar with it but when I tried to continue it kept telling me it was not formatted. The disk should be fine. I installed with it before. Any suggestions?

thanks
 
Old 02-09-2017, 06:36 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Was /dev/sda2 a previous partition of another install?
 
Old 02-09-2017, 07:33 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I suggest that you use gparted to see if /dev/sda2 is formatted or not. You could run gparted from a rescue DVD if necessary.

---------------------
Steve Stites
 
Old 02-09-2017, 07:48 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Gparted Live works great.

http://gparted.org/download.php

Unless you have another os on that machine with gparted installed you will have to use gparted Live.
 
Old 02-10-2017, 08:56 AM   #5
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
I had debian intalled on it. I have kubuntu i stalled. In the past when I had multiple distros install I would add them to /etc/fstab so I could access them. I tried that but I don't understand how this new fstab works. I tried running blkid and they show up but not even /home is in fstab. I'll give gparted a go. I've never used it but a friend says it works well.

Thhanks

KDE actually a disk partitioning tool so I formatted the partition as ext 4

Last edited by Mystified; 02-10-2017 at 09:11 AM.
 
Old 02-10-2017, 09:09 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
install steps
when it gets to the what do you want to do with the hard drive.
if you are mounting it for root then I'd just tell that install to format it regardless of what I think or know about that hard drive partition, if it is formatted or not, then see what happens.

Code:
/dev/dsa2 / 
formate yes
proceed with install process
 
Old 02-10-2017, 09:13 AM   #7
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
we must have been posting at the same time.
 
Old 02-10-2017, 09:14 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Mystified View Post
I had debian intalled on it. I have kubuntu i stalled. In the past when I had multiple distros install I would add them to /etc/fstab so I could access them. I tried that but I don't understand how this new fstab works. I tried running blkid and they show up but not even /home is in fstab. I'll give gparted a go. I've never used it but a friend says it works well.

Thhanks
if/is this is a new everything on your hdd or a dual boot?

adding partitions to an fstab. All one has to do is add them oneself if needed. If that install did not add a home mount point then 99.99999% chance something must have been forgotten to be done during the install during the step when one tells the install process what to do with the hard drive - partitions and mount points.

are you trying to get a dual boot or wipe everything and just have Debian?
 
Old 02-10-2017, 09:27 AM   #9
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
I want to dual boot. And it's in kubuntu that it doesn't show up in I don't even have a cdrom drive listed. During my install of debian it all showed up.
 
Old 02-10-2017, 09:59 AM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Mystified View Post
I want to dual boot. And it's in kubuntu that it doesn't show up in I don't even have a cdrom drive listed. During my install of debian it all showed up.
then when you speak of this home - it is kubuntu home that does not show up in Debian fstab?
if yes, then that has to be added manually to Debian fstab under a different name else you'll comfuse the system UNless you are doing what I do. Share that home between two or more distros.

Code:
blkid # to get the partiton address of that "home" in question

/dev/sdxx /media/myotherhome  ext4 defaults 0 1 
#that is to mount the others distro home 
in /media/someSubdirectroy folder so it will
automatically show up in a file manager when opened.
I hope that helps in short order. Because I am heading out the door for a moment.
 
Old 02-10-2017, 10:03 AM   #11
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
sorry no. all the partitions show up during the debian instal. It's kubuntu that doesn't show them. after I backup fstab in kubuntu I'm going to edit it.
 
Old 02-10-2017, 12:48 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Mystified View Post
sorry no. all the partitions show up during the debian install. It's kubuntu that doesn't show them. after I backup fstab in kubuntu I'm going to edit it.
during the install, yes it will always show you every available drive / partition connected to the hardware / cp / Laptop ..

you are not experiencing anything wrong. this is two separate system only adding what it theirs, if one wants anything more or different then yes the user has to add it later.
 
Old 02-10-2017, 01:27 PM   #13
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
Well now I got it to install debian but grub doesn't allow me to boot into kubuntu. It shows up but when I try to access it I get an error message wanting me to boot into safe mode as root. I don't feel very comfortable with that. I did update-grub and no luck. I always used lilo in the past.
 
Old 02-10-2017, 09:31 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Mystified View Post
I want to dual boot. And it's in kubuntu that it doesn't show up in I don't even have a cdrom drive listed. During my install of debian it all showed up.
Quote:
Well now I got it to install debian but grub doesn't allow me to boot into kubuntu.
-Boot into your new Debian install and run this as 'root':


Code:
su <press Enter
Put in your password than type:
Code:
update-grub
Upon reboot your Grub Menu should list Debian first and Kubuntu as your second choice.


-::-If you still don't see Kubuntu in your Grub Menu let me know.-::-
 
Old 02-11-2017, 04:21 AM   #15
Mystified
Member
 
Registered: Mar 2002
Distribution: Debian, Kubuntu
Posts: 311

Original Poster
Rep: Reputation: 20
I did that already but now kubuntu won't load. I don't wan't to have to do a reinstall.Don't know what to do at this point.

well I did what i could and booted into recovery mode and ckecked everything and it seems i had a lot of broken packages that could not be repaired, so I reinstalled. it just doesn't make sense.

Last edited by Mystified; 02-11-2017 at 04:59 AM.
 
  


Reply



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
Question: Freebsd 6.2 installation, partition failure alkad_mzu *BSD 3 09-10-2007 03:26 PM
Disk boot failure after installation penyelam Slackware - Installation 2 11-18-2006 07:24 PM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 11:46 AM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
Boot And hard disk failure on installation poussis Linux - Newbie 1 05-23-2004 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:48 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