| bio | website | |
|---|---|---|
| location | Toronto, Canada | |
| age | 31 | |
| visits | member for | 1 year, 6 months |
| seen | May 7 '12 at 22:02 | |
| stats | profile views | 6 |
|
May 7 |
comment |
How to resize an LVM partition at the beginning @psusi all my linux partitions are actually ext4. I did fix my problem by splitting my swap partition and creating a small boot partition to run grub from, but I still want to find out if there is an easy way to shift a partition a bit. |
|
May 7 |
comment |
How to resize an LVM partition at the beginning as @psusi said, moving has been deprecated and it never supported moving to overlapping location (i.e. can't just nudge the partition a bit, have to move the whole partition to an empty space, then move it back) |
|
May 7 |
comment |
How to resize an LVM partition at the beginning @psusi, yes it is typical to start @ 63, but no, grub2 isn't always happy with that. It really depends on the modules it has to include. In my case, 32K is not enough, in other cases it may be |
|
May 6 |
awarded | Student |
|
May 6 |
asked | How to resize an LVM partition at the beginning |
|
Feb 19 |
awarded | Supporter |
|
Feb 18 |
comment |
Checking if PATH contains $HOME/mydir and adding it if not (all in a script) are you sure this works? I made a typo in my response, which I have now edited. The exit code is in the $? variable, not $0, which should be the name of your script. Change $0 == 0 to $? -eq 0. You should try it with a some path that is not in your PATH |
|
Feb 18 |
awarded | Editor |
|
Feb 18 |
revised |
Checking if PATH contains $HOME/mydir and adding it if not (all in a script) typo |
|
Feb 18 |
comment |
Checking if PATH contains $HOME/mydir and adding it if not (all in a script) @NikhilMulley, no it's not ... it's a typo, should be $?. |
|
Feb 18 |
awarded | Teacher |
|
Feb 18 |
answered | Checking if PATH contains $HOME/mydir and adding it if not (all in a script) |