LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-31-2018, 04:27 PM   #1
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Rep: Reputation: Disabled
Clean (re)install - Can't find partition on second drive


Erk!

I've (half) successfully installed debian (wheezy) on my media/file server, i.e it's on and half configured.

Problem is I seem to have lost my data disc*.

The system has a small (160Gb) harddisc for boot/OS/and stuff, and another pair of 2TB discs on a raid card.

I've definitely installed Wheezy on the right disc, but it's not seeing the other disc at all (only dev/sdb which is some removable flash card reader). It's there in the BIOS/boot menu, but that's it.

How do I remind/tell debian that there's data on the array, and then get it mounted and accessible?

*yes I did do a backup

Last edited by CrowbarHero; 03-31-2018 at 04:45 PM. Reason: misleading info removed
 
Old 03-31-2018, 05:28 PM   #2
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: Disabled
Further info:

when restarting from the bios (after checking a few settings) I occasionally get a FSCK error 2 (no such file or directory) screen, with some kinda busybox prompt. attempting to exit from this results in a crash requiring a hard reset.

on looking up this error it seems it might be related to INITRAMFS, which when I try to initramfs-update -u presents "possible missing firmware" errors.

I can boot into the raid card bios and the array is recognised there, but not in the main motherboard bios (I can't remember if it should be or not).

Am I missing some drivers? or is it a config problem at a lower level (i.e. during boot up).

I'm sure putting this lot together before wasn't this difficult!
 
Old 03-31-2018, 08:48 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,380
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
What is the output of the command fdisk -l issued as root?
 
Old 04-01-2018, 01:32 AM   #4
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: Disabled
hmph.

Started it up this morning and it can't get beyond this initramfs thing. Most annoying. so no fdisk -l output for breakfast.

On reflection I think I might have gotten something wrong during the installation, as I adopted all the default settings, whereas in hindsight I think there was something regarding boot devices and the grub loader which might have needed more considered attention.

I will try re-installation, as I've not really installed much (/anything)
 
Old 04-01-2018, 02:24 AM   #5
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: Disabled
right, reinstall seemed to have worked, no errors on boot (I've left the bios alone this time). I took a few screenshots (old-school) during the install process of critical points so I've got a memory of what I've done.

This time I've used LVM rather than the default setting (no LVM) - it seems to have detected the raid array as it offered to format/install on it (no thanks!) so paraphrasing from the setup it's given me the following:

Code:
LVM VG Rosco-vg, LV root - 158.7GB Linux device-mapper (linear)
    #1         158.7GB    f    ext4    /
LVM VG Rosco-vg, LV swap - 1.1GB Linux device-mapper (linear)
    #1         1.1GB      f    swap    swap
SCSI1 (0,0,0) (sda)  - 2.0TB ATA MARVELL Raid V0
    #1 primary 2.0TB           ext3
SCSI9 (0,0,0) (sdb)  - 160.0GB ATA SAMSUNG HD161GJ
    #1 primary 254.8MB    f    ext2    /boot
    #5 logical 159.8GB    k    lvm
SCSI12 (0,0,0) (sdd) - 31.5GB Kingston DataTraveler 2.0
The Samsung is the onboard boot/system drive, the Marvell is the SATA board/raid array and the Kingston Data traveler is the USB I install from.. Simples?

It asked if I wanted to put the GRUB boot loader on the master boot record, so I said yes as there's no other OS going on this. So it put it on /dev/sdb (the Samsung HD)

I reckon I've got this right now.

For the record, here's the fdisk -l output as root:

Code:
Disk /dev/sda: 1.8 TiB, 2000315023360 bytes, 3906865280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start        End    Sectors  Size Id Type
/dev/sda1          63 3906865279 3906865217  1.8T 83 Linux


Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x41c75fdb

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sdb1  *      2048    499711    497664   243M 83 Linux
/dev/sdb2       501758 312580095 312078338 148.8G  5 Extended
/dev/sdb5       501760 312580095 312078336 148.8G 8e Linux LVM


Disk /dev/mapper/Rosco--vg-root: 147.8 GiB, 158716657664 bytes, 309993472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/Rosco--vg-swap_1: 1016 MiB, 1065353216 bytes, 2080768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Now to get it mounted, and hope I've not wiped it in the process (no big deal, it's just going to take an age to restore the backup), but first the kids need their rice-krispies..
 
Old 04-01-2018, 02:37 AM   #6
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: Disabled
Aargh!

rebooted the system and the poxy drive has disappeared.

new fdisk -l output:

Code:
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x41c75fdb

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1  *      2048    499711    497664   243M 83 Linux
/dev/sda2       501758 312580095 312078338 148.8G  5 Extended
/dev/sda5       501760 312580095 312078336 148.8G 8e Linux LVM


Disk /dev/mapper/Rosco--vg-root: 147.8 GiB, 158716657664 bytes, 309993472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/Rosco--vg-swap_1: 1016 MiB, 1065353216 bytes, 2080768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Last edited by CrowbarHero; 04-01-2018 at 03:38 AM.
 
  


Reply

Tags
debian 9



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install distro on clean drive scythempress Linux - Newbie 5 03-08-2014 05:13 PM
clean PC from XP - install Ubuntu (XP as Virtual) - 3 discs - how to partition? ggerri Linux - Newbie 5 04-19-2009 05:41 PM
Clean install keeping /home partition. digger95 Slackware 10 04-19-2008 03:28 AM
Wiping hard drive for clean install Kissinger! Linux - Newbie 9 04-14-2008 11:56 PM
install grub to new clean hard drive? Hosiah Linux - General 5 07-21-2006 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:22 AM.

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