Page 1 of 2

After KDE install, My server wont BOOT

Posted: Fri Aug 17, 2012 11:59 am
by asylum
Some many months ago I installed the "GUI Install for Express CD" (I'm using Fedora for my HDA) per the wiki's. After install, my HDA hangs at the end of loading and doesn't finish booting. How do I get to "Root" to undo what I've done? The package removal description from the "GUI Install for Express CD" reads, "yum groupremove KDE". I don't want to reinstall everything 'cause I'm afraid I'll lose everything on my drives. What do I do? If I can get this fixed, I still would like to have the HDA setup to be able to use as a regular PC while in the garage.

Re: After KDE install, My server wont BOOT

Posted: Fri Aug 17, 2012 3:47 pm
by bigfoot65
Hello,

Can you tell what the problem is with booting? Maybe you can SSH in and correct it. I have been able to SSH into my box in the past before booting was done. Probably won't work, but just a thought.

Your only recourse may be reinstall of the OS. I am not familiar with a way to undo packages installed if the OS will not boot. If it is possible, you might find a solution on the internet.

Re: After KDE install, My server wont BOOT

Posted: Sat Aug 18, 2012 9:50 am
by asylum
Hey,

I made a mistake, Im running Fedora 14 not 12.

The machine loads clear through to the very end, via the colored bars at the bottom (dark blue, light blue, white), hangs at the end of white. The only thing I can think of that may be causing the issue is a command that was entered to get the HDA to boot into init5. I'm not versed, at all, with what your about to read. This is what the directions said to do: (bash code) sed -i 's/id:3:initdefault:/id:5:initdefault:/g' /etc/inittab. To undo the last command type: (bash code) sed -i 's/id:5:initdefault:/id:3:initdefault:/g' /etc/inittab.

Okay. Worse case scenario, I'll have to redo, again, my HDA. If I remove all the hard drives except for the boot drive, reinstall everything and reinsert the other drives, will the information they have still be there???????

Re: After KDE install, My server wont BOOT

Posted: Sat Aug 18, 2012 10:07 am
by bigfoot65
Yes, this can be quite complicated.

If you do as you say for reinstall, the data should be fine. The only data you would need to worry about is what is on the OS drive. If Greyhole takes care of it all, then no worries.

Re: After KDE install, My server wont BOOT

Posted: Sat Aug 18, 2012 10:43 am
by asylum
Yesss. Thank you. I do believe grayhole is managing the space on all the drives. It was set up nearly a year ago or so, but I'm almost 100% positive that I used my dashboard to manage the drives.

Um, why complicated?

Re: After KDE install, My server wont BOOT

Posted: Sat Aug 18, 2012 11:30 am
by bigfoot65
I mean complicated in the sense that you are trying to uninstall KDE without a successful boot. The reinstall is fairly straight forward.

http://wiki.amahi.org/index.php/Reconne ... orage_pool

Re: After KDE install, My server wont BOOT

Posted: Tue Aug 21, 2012 11:18 am
by asylum
Um..., how am I supposed to perform the tasks on the link if I can't access my HDA as root? I just figured I would unplug my drives (except for the boot drive), and install Ubuntu 12.04's OS and server setup. Will this will allow me to have a PC/Server in the garage to use to watch internet shows while I'm fixing things on the honey-do list and my Amahi Server setup for the home devices, all in one? Oh. by the way, thanks for what you do. I've received tons of help from the Linux community and it is appreciated. My server isn't exactly purring like a kitten yet (hasn't for many years), but I keep chopping away at it anyway.

Re: After KDE install, My server wont BOOT

Posted: Tue Aug 21, 2012 2:56 pm
by bigfoot65
The intent of link was to tell you how to reconnect the drives after a new install. If you do a new install and add the drives in after the OS and Amahi has been setup, things should work fine.

Re: After KDE install, My server wont BOOT

Posted: Wed Nov 21, 2012 5:55 am
by asylum
I've got a couple of questions still; I have my HDA back up and running with Ubuntu installed. I plugged my 2 1-TB drives in and restarted the PC. Followed the greyhole link provided to remount the drives. This is the message that showes:

Ignoring /dev/sda1 - already mounted
Ignoring /dev/sda1 - already in /etc/fstab as /dev/sda1
Ignoring /dev/sda1 - already in /etc/fstab as UUID=0ef3931d-c413-4e1c-9359-c11f4bfd3fc2
This device appears to be commented out of your /etc/fstab. You will need to remove it from there for hda-diskmount to be able to mount it.
****************************************************************
Mounted /dev/sdb1 as '/var/hda/files/drives/drive3' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=51f190b6-63c1-448a-9eda-c07f46bb6b3e /var/hda/files/drives/drive3 ext4 defaults 1 2
xt4 defaults 1 2
****************************************************************
My dashboard, under "Storage", "Disks"- showes the drives as /dev/sda (the 120 Gig for the OS), /dev/sdb (1 of the 1 TB drives) and /dev/sdc (the other).
Under "Shares", "Storage Pool", I have the 120 GB drive and 1 of the 1-TB drives (/var/hda/files/drives/drive3). I have the box checked to pool the drive.

The question is this; Does Grgeyhole use both drives- 1 as a backup of the other but only shows the 1? Kinda like a windows mirrior configuration. It's been so long since I've seen the layout from before, I can't remember what was shown.

Also, I don't see any of the information on the drive from other PC's. Prior to performing the tasks in the above message I thought I might ask to see if I'm heading in the correct direction.

Re: After KDE install, My server wont BOOT

Posted: Wed Nov 21, 2012 6:03 am
by bigfoot65
Greyhole will only use the drives you select in the Storage Pool tab of the dashboard. According to the output of the hda-diskmount, only 1 additional drive is mounted. The other one either is not partitioned and formatted properly or there is a problem with it.

The other disk you see in the Storage tab is recognized by the OS, but not mounted/recognized by Samba. It is formatted as ext4? If it's formatted as NTFS, then you need to install the extra dependencies as indicated in the "Adding a second hard drive" article in the wiki for that drive to be recognized.

Once you have it properly configured, it should be recognized by hda-diskmount script.