Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Solved]Need help to all linux gurus
New Posts  All Forums:Forum Nav:

[Solved]Need help to all linux gurus - Page 3

post #21 of 44
Thread Starter 
Quote:
Originally Posted by tom.slick View Post


Yup. Me n dood is working on it.

I almost quit. This is a monkeys uncle not having raid auto install.
post #22 of 44
Thread Starter 
Linux is horrible n pain in the ass.

Its been 2days trying to get linux n grub installed still haven't succeeded.
post #23 of 44
Thread Starter 
I get stuck with
Code:
mint@mint /target $ sudo mount -t proc proc proc/
mint@mint /target $ sudo mount -t sysfs sys sys/
mint@mint /target $ sudo mount -o bind /dev dev/
mint@mint /target $ sudo chroot .
mint / # apt-get mdadm grub2
E: Invalid operation mdadm
mint / # sudo apt-get mdadm grub2
sudo: unable to resolve host mint
E: Invalid operation mdadm
mint / #
post #24 of 44
Quote:
Originally Posted by HITTI View Post

Linux is horrible n pain in the ass.

Its been 2days trying to get linux n grub installed still haven't succeeded.

My suggestion, install Linux on a separate disk ( non-RAID ) and get the feel for it first. Then, if you still wish, set it up on RAID after you've acquired some knowledge on RAID and Linux.
post #25 of 44
Quote:
Originally Posted by HITTI View Post

CuN2aqD.jpg

I don't know much about raid, but your error"
Code:
grub-probe: error: failed to get canonical path of '/cow'.

is saying that it can't find it's mount point, which may have something to do with you using a name with spaces.

When you type
Code:
sudo grub-install --recheck /dev/mapper/isw_bhbgiccagc_Samsung 840 PROS
it's probably not seeing the "840 PROS"

Either remove the spaces, or try this:
Code:
sudo grub-install --recheck /dev/mapper/isw_bhbgiccagc_Samsung\ 840\ PROS
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
Boinc Desktop
(14 items)
 
CrunchAholic
(8 items)
 
 
CPUMotherboardGraphicsRAM
AMD Ryzen 7 1700X ASRock X370 Taichi Gigabyte GTX 970 G1 HyperX Predator 
Hard DriveCoolingCoolingCooling
Hyper Predator M.2 Watercool Heatkiller IV PRO AM4 CPU Block EKWB GTX 970 GPU Block EKWB Coolstream XE 240 Radiator 
CoolingCoolingOSPower
EKWB Coolstream PE 360 Radiator Watercool Heatkiller 150mm Tube Res Gentoo Linux EVGA 850 G2 
CaseMouse
Thermaltake View 31 Tempered Glass RGB Edition Roccat Kone EMP 
CPUCPUMotherboardGraphics
Intel Xeon E5-2670 Intel Xeon E5-2670 Asrock Rack EP2C602 XFX RX 480 RS 
RAMHard DriveOSPower
64 GBs Samsung M939B1K70CHD-CH9 PC3-10600R Samsung HD322HJ Arch Linux Corsair AX1200 
  hide details  
Reply
post #26 of 44
Thread Starter 
lol.
https://bugs.launchpad.net/linuxmint/+bug/1381170
Code:
mint@mint ~ $ sudo mdadm --assemble --scan
mdadm: only give one device per ARRAY line: /dev/md/Samsung and 840
mdadm: only give one device per ARRAY line: /dev/md/Samsung and PROS
mdadm: Container /dev/md/imsm0 has been assembled with 2 drives
mdadm: Started /dev/md/Samsung with 2 devices
mint@mint ~ $ sudo bash
mint ~ # mount /dev/md126p5 /target
mount: mount point /target does not exist
mint ~ # mkdir /target
mint ~ # mount /dev/md126p5 /target
mint ~ # cd target
bash: cd: target: No such file or directory
mint ~ # cd /target
mint target # mount -t proc proc proc/
mint target # mount -t sysfs sys sys/
mint target # mount -o bind /dev dev/
mint target # chroot .
mint / # apt-get install mdadm grub2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  grub-gfxpayload-lists grub-pc grub-pc-bin
Suggested packages:
  desktop-base
Recommended packages:
  default-mta mail-transport-agent
The following packages will be REMOVED:
  grub-efi-amd64 grub-efi-amd64-signed
The following NEW packages will be installed:
  grub-gfxpayload-lists grub-pc grub-pc-bin grub2 mdadm
0 upgraded, 5 newly installed, 2 to remove and 273 not upgraded.
Need to get 1,421 kB of archives.
After this operation, 1,519 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc-bin amd64 2.02~beta2-9ubuntu1.3
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc amd64 2.02~beta2-9ubuntu1.3
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty/main grub-gfxpayload-lists amd64 0.6
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main mdadm amd64 3.2.5-5ubuntu4.2
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe grub2 amd64 2.02~beta2-9ubuntu1.3
  Could not resolve 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc-bin_2.02~beta2-9ubuntu1.3_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc_2.02~beta2-9ubuntu1.3_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub-gfxpayload-lists/grub-gfxpayload-lists_0.6_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mdadm/mdadm_3.2.5-5ubuntu4.2_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/grub2/grub2_2.02~beta2-9ubuntu1.3_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
mint / # sudo apt-get install mdadm grub2
sudo: unable to resolve host mint
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  grub-gfxpayload-lists grub-pc grub-pc-bin
Suggested packages:
  desktop-base
Recommended packages:
  default-mta mail-transport-agent
The following packages will be REMOVED:
  grub-efi-amd64 grub-efi-amd64-signed
The following NEW packages will be installed:
  grub-gfxpayload-lists grub-pc grub-pc-bin grub2 mdadm
0 upgraded, 5 newly installed, 2 to remove and 273 not upgraded.
Need to get 1,421 kB of archives.
After this operation, 1,519 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc-bin amd64 2.02~beta2-9ubuntu1.3
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc amd64 2.02~beta2-9ubuntu1.3
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty/main grub-gfxpayload-lists amd64 0.6
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main mdadm amd64 3.2.5-5ubuntu4.2
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe grub2 amd64 2.02~beta2-9ubuntu1.3
  Could not resolve 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc-bin_2.02~beta2-9ubuntu1.3_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc_2.02~beta2-9ubuntu1.3_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub-gfxpayload-lists/grub-gfxpayload-lists_0.6_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mdadm/mdadm_3.2.5-5ubuntu4.2_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/grub2/grub2_2.02~beta2-9ubuntu1.3_amd64.deb  Could not resolve 'archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

It's like ubuntu is blocking my IP?
post #27 of 44
Thread Starter 
The op of the bug got it sorta going.

I managed to get grub2 and mdadm installed to tge raid array i think but my system boots to win7. No grub menu.
post #28 of 44
I just have to ask because my Linux noobie brain is confused.

You are trying to dual boot off an array of SSD's using Win7 and Linux? The first post mentions GPT, Is Win7 installed using GPT? I am not familiar with this stuff, but the way I currently understand it is MBR needs legacy mode and GPT needs UEFI. I'm not sure how it would be possible to get both types to work on an array. Also, if used on independent disks, the UEFI/legacy setting would dictate which drive would work at any given time. I could be wrong but that's what I am seeing. Being the type of person who generally works the long and hard yet familiar road in life, I probably would have stuck with legacy/MBR which I have with all of my current Linux installs.

The second thing I don't understand is why would someone make a RAID 0 with SSD's? From what I saw there is minimal benefit from doing this. As someone who has never taken up more than 200GB on a drive and the largest file I've ever moved was probably GTA4, I don't get it. Maybe there are people in a particular circumstance that they move giant files several times a day to the point that using that setup makes sense. To me, it seems like a headache. Given that the computer isn't cooperating with this setup, it seems to agree. Personally I would just use two separate drives. I have posted many times how I think dual booting is more trouble than it is worth. All of the threads I see on here with people having problems also seems to agree with me. Plug in one drive at a time, install one OS at a time, set boot priority to most used OS, hit function key for boot menu when you want different OS. Sure, people can get it to work and never have any issues. Some people have expensive paperweights at their desk. I have enough paperweights without manually creating one.
post #29 of 44
Thread Starter 
Quote:
Originally Posted by Kleer Kut View Post

I just have to ask because my Linux noobie brain is confused.
The second thing I don't understand is why would someone make a RAID 0 with SSD's? From what I saw there is minimal benefit from doing this. As someone who has never taken up more than 200GB on a drive and the largest file I've ever moved was probably GTA4, I don't get it. Maybe there are people in a particular circumstance that they move giant files several times a day to the point that using that setup makes sense. To me, it seems like a headache. Given that the computer isn't cooperating with this setup, it seems to agree. Personally I would just use two separate drives. I have posted many times how I think dual booting is more trouble than it is worth. All of the threads I see on here with people having problems also seems to agree with me. Plug in one drive at a time, install one OS at a time, set boot priority to most used OS, hit function key for boot menu when you want different OS. Sure, people can get it to work and never have any issues. Some people have expensive paperweights at their desk. I have enough paperweights without manually creating one.

I was running out of room on my #1 128gb ssd, had to extend it to a second one and decided run raid0 at 119GB + 119GB.

But yea, I gave up. I'll come back to the bug section a year from now and see if the bug is fixed. If not uh well. I do have a kinda spare 60GB ssd but why should I use a 3GB/s ssd when I have two 6GB/s ssds in raid 0. lol makes me fracken laugh. I'm not doing it. I should be able to install linux on raid 0 simple as that without a problem. Crap man, XP can use raid, just need to flip the OS a raid driver on install and that was it. Linux, pff, good luck with that.
post #30 of 44
Quote:
Originally Posted by Kleer Kut View Post

I just have to ask because my Linux noobie brain is confused.

You are trying to dual boot off an array of SSD's using Win7 and Linux? The first post mentions GPT, Is Win7 installed using GPT? I am not familiar with this stuff, but the way I currently understand it is MBR needs legacy mode and GPT needs UEFI. I'm not sure how it would be possible to get both types to work on an array. Also, if used on independent disks, the UEFI/legacy setting would dictate which drive would work at any given time. I could be wrong but that's what I am seeing. Being the type of person who generally works the long and hard yet familiar road in life, I probably would have stuck with legacy/MBR which I have with all of my current Linux installs.

GPT doesn't need UEFI, UEFI needs GPT. Big difference there.

Legacy boot can be on either MBR of GPT partitions.
Quote:
Originally Posted by HITTI View Post

I was running out of room on my #1 128gb ssd, had to extend it to a second one and decided run raid0 at 119GB + 119GB.

But yea, I gave up. I'll come back to the bug section a year from now and see if the bug is fixed. If not uh well. I do have a kinda spare 60GB ssd but why should I use a 3GB/s ssd when I have two 6GB/s ssds in raid 0. lol makes me fracken laugh. I'm not doing it. I should be able to install linux on raid 0 simple as that without a problem. Crap man, XP can use raid, just need to flip the OS a raid driver on install and that was it. Linux, pff, good luck with that.

I've set up and run over 4,000 systems on RAID with absolutely no issues.

Your blame on the system is placed wrongly.
Edited by Shrak - 9/27/15 at 4:12pm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [Solved]Need help to all linux gurus