You are not logged in.
Good morning to everyone!
A few days ago I decided to upgrade my laptop, an Asus U44S, by replacing its original magnetic hard drive with a solid state one.
Well, once gathered some info on the Internet, I proceeded the following way (both hard drives have the same size, 750 GB):
dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror
My partitioning scheme is as follows:
/dev/sda1 >> recovery for Windows; /dev/sda2 >> swap; /dev/sda3 >> /; /dev/sda4 >> extended partition; /dev/sda5 >> /home
Mounted the root partition and then the subsystems:
mount /dev/sda3 /mnt
mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
mount -o bind /sys /mnt/sys
then a change root:
chroot /mnt /bin/bash
Edited the fstab by adding the options noatime,discard to the lines rgarding the root and the home partition, added the option elevator=noop in /etc/default/grub, rebuilt the kernel image by giving:
mkinitcpio -p linux-ice
installed grub:
grub-install /dev/sda
after that, unmounted the subsystems and rebooted the machine.
Once selected my kernel, TuxOnIce, Arch immediately goes into emergency mode, because all systemd units fail in their initialization.
Another strange thing, the extended partition containing my /home, isn't mounted.
Where did I go wrong and what should I do to get this mess fixed?
Burroughs.
Last edited by Burroughs (2014-05-14 15:47:05)
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline
Mounted the root partition and then the subsystems:
mount /dev/sda3 /mnt mount -t proc none /mnt/proc mount -o bind /dev /mnt/dev mount -o bind /sys /mnt/sys
You should mount the home when you mount the root partition too:
mount /dev/sda3 /mnt mount /dev/sda5 /mnt/home mount -t proc none /mnt/proc mount -o bind /dev /mnt/dev mount -o bind /sys /mnt/sys
I'm using the ssd too, and I think it's better to not use the swap partition if you have enought ram since the swap it's consuming the ssd faster
Burroughs.
Offline
Thanks for you answer, but nothing has changed: my Arch still boots in emergency mode and the /home partition is not been mounted...
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline
Thanks for you answer, but nothing has changed: my Arch still boots in emergency mode and the /home partition is not been mounted...
While in emergency mode can you manually mount the home partition?
Offline
Burroughs wrote:Thanks for you answer, but nothing has changed: my Arch still boots in emergency mode and the /home partition is not been mounted...
While in emergency mode can you manually mount the home partition?
Yes, I can, and I'll tell you more, I've solved the problem, it was just an incorrect option in /etc/fstab, that stopped the system from booting up correctly...
Anyway, thanks for your patience and support,
Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline
What was the incorrect option? Curious minds want to know (tm)!
Matt
"It is very difficult to educate the educated."
Offline
What was the incorrect option? Curious minds want to know (tm)!
No problem, this is the line:
# UUID=1e6b025c-2759-4fec-9c11-c44a04f8a1ab
/dev/sda5 /home reiserfs rw,relatime,user_xattr,noatime,discard 0 2
Arch boots correctly if I remove the options noatime,discard...
Ok, it's a step forward but I'd like to enable them back again; if you (or someone else) can give me good tips on how to fix this problem...
Ps: I know I'm going off-topic, now. :-)
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline
Put just discard without noatime should work. By enabling noatime you should not use relatime since you can use just one of these: noatime, realtime or atime.
Last edited by m1st3rkr3p (2014-05-14 21:17:01)
Offline
Put just discard without noatime should work. By enabling noatime you should not use relatime since you can use just one of these: noatime, realtime or atime.
Unfortunately, it didn't work...
If I add only discard, Arch goes into recovery mode again.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline
AFAIK reiserfs doesn't support the discard option. You'll have to use a different filesystem if you want trim support.
Last edited by Slithery (2014-05-15 09:05:48)
Offline
Any reason you are using Reiserfs? Just out of curiosity as I have never seen any one to use it before, especially for a SSD seeming it doesn't support TRIMMING like slithery said. I more see btrfs or ext4 partition more than anything else.
Offline
Any reason you are using Reiserfs? Just out of curiosity as I have never seen any one to use it before, especially for a SSD seeming it doesn't support TRIMMING like slithery said. I more see btrfs or ext4 partition more than anything else.
No particular reason at all, just a matter of laziness: I've been using reiserfs since I first installed Slackware, more than 10 years ago, and I've never made a step forward. I agree with you, don't think reiserfs supports trimmering, so there's not much I can do, except migrating my data... :-(
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline
I agree with you, don't think reiserfs supports trimmering
It doesn't at the moment
I will be doing a fresh install on a new SSD I have bought. I would do what you have done by moving the entire drive over, but I think a fresh start with a better partition table is in hand.
Last edited by Kartious (2014-05-15 10:41:25)
Offline
Burroughs wrote:I agree with you, don't think reiserfs supports trimmering
It doesn't at the moment
I will be doing a fresh install on a new SSD I have bought. I would do what you have done by moving the entire drive over, but I think a fresh start with a better partition table is in hand.
Brilliant!
I will format my /home partition, instead, reiserfs is really out-of-date and deprecated at the moment and I don't think it's still supported, considering what happened to Hans Reiser.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)
Offline