General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
What's the difference between GRUB (with efibootmgr) and rEFInd? When I tried it I couldn't get it to install, is it just a better GUI?
By default rEFInd is configured to autodetect UEFI programs (even on other partitions!) and show boot entries for them. You could use it to boot some crazy OSX/Windows/Linux setup without changing the default config file.
I think it generally benefits from being EFI-only and thus having options tailored to that. Other than that it's pretty similar to GRUB.
There's been something "off" with my laptop, and I just realized what it is.
APT is actually usable with an SSD. Stuff installs really fucking fast. It's amazing to use.
Alright, so I'm in dire need of some assistance from the pros! Once again. This is one problem I've had for a long time, and it might require your knowledge of SliTaz to get working, but I'm open for ANY solution at this point. Really.
I can't get ZFS working on SliTaz. Currently it's not in the main repos (not even in rolling), so it doesn't build yet.. And I need it to build today, which is why I'm in dire need of assistance.
So to get started, you'll need to install two packages:
[code]
# tazpkg -gi cookutils
# tazpkg -gi tazdev
[/code]
And then create a simple chroot environment.
[code]
# tazdev gen-chroot
# tazdev chroot
[/code]
After this, you'll need the 'undigest' wok, and then 'cook' the zfs package.
[code]
# cook setup --undigest
# cook zfs
[/code]
This won't work however, and the following error is spewed out:
[code]
ERROR: cook failed
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:41:1: error: static declaration of 'blk_fetch_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:45:2: error: implicit declaration of function 'elv_next_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:47:3: error: implicit declaration of function 'blkdev_dequeue_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:55:21: error: unknown type name 'request_queue_t'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:63:1: error: static declaration of '__blk_end_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:79:5: error: 'struct request' has no member named 'hard_cur_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:80:2: error: implicit declaration of function 'end_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:86:1: error: static declaration of 'blk_end_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:154:1: error: conflicting types for 'blk_rq_pos'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:156:12: error: 'struct request' has no member named 'sector'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:162:1: error: conflicting types for 'blk_rq_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:164:12: error: 'struct request' has no member named 'nr_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:212:2: error: implicit declaration of function 'blk_queue_max_sectors' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:226:2: error: implicit declaration of function 'blk_queue_max_phys_segments' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:227:2: error: implicit declaration of function 'blk_queue_max_hw_segments' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:252:1: error: redefinition of 'get_disk_ro'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:256:10: error: 'struct gendisk' has no member named 'part'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:257:16: error: 'struct gendisk' has no member named 'part'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:265:1: error: redefinition of 'rq_is_sync'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:267:13: error: 'struct request' has no member named 'flags'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:267:23: error: 'REQ_RW_SYNC' undeclared (first use in this function)
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:272:8: error: redefinition of 'struct req_iterator'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:41:1: error: static declaration of 'blk_fetch_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:45:2: error: implicit declaration of function 'elv_next_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:47:3: error: implicit declaration of function 'blkdev_dequeue_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:55:21: error: unknown type name 'request_queue_t'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:63:1: error: static declaration of '__blk_end_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:79:5: error: 'struct request' has no member named 'hard_cur_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:80:2: error: implicit declaration of function 'end_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:86:1: error: static declaration of 'blk_end_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:154:1: error: conflicting types for 'blk_rq_pos'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:156:12: error: 'struct request' has no member named 'sector'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:162:1: error: conflicting types for 'blk_rq_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:164:12: error: 'struct request' has no member named 'nr_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:212:2: error: implicit declaration of function 'blk_queue_max_sectors' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:226:2: error: implicit declaration of function 'blk_queue_max_phys_segments' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:227:2: error: implicit declaration of function 'blk_queue_max_hw_segments' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:252:1: error: redefinition of 'get_disk_ro'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:256:10: error: 'struct gendisk' has no member named 'part'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:257:16: error: 'struct gendisk' has no member named 'part'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:265:1: error: redefinition of 'rq_is_sync'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:267:13: error: 'struct request' has no member named 'flags'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:267:23: error: 'REQ_RW_SYNC' undeclared (first use in this function)
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:272:8: error: redefinition of 'struct req_iterator'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/vfs_compat.h:74:1: error: static declaration of 'bdi_setup_and_register' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:41:1: error: static declaration of 'blk_fetch_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:45:2: error: implicit declaration of function 'elv_next_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:47:3: error: implicit declaration of function 'blkdev_dequeue_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:55:21: error: unknown type name 'request_queue_t'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:63:1: error: static declaration of '__blk_end_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:79:5: error: 'struct request' has no member named 'hard_cur_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:80:2: error: implicit declaration of function 'end_request' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:86:1: error: static declaration of 'blk_end_request' follows non-static declaration
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:154:1: error: conflicting types for 'blk_rq_pos'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:156:12: error: 'struct request' has no member named 'sector'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:162:1: error: conflicting types for 'blk_rq_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:164:12: error: 'struct request' has no member named 'nr_sectors'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:212:2: error: implicit declaration of function 'blk_queue_max_sectors' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:226:2: error: implicit declaration of function 'blk_queue_max_phys_segments' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:227:2: error: implicit declaration of function 'blk_queue_max_hw_segments' [-Werror=implicit-function-declaration]
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:252:1: error: redefinition of 'get_disk_ro'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:256:10: error: 'struct gendisk' has no member named 'part'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:257:16: error: 'struct gendisk' has no member named 'part'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:265:1: error: redefinition of 'rq_is_sync'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:267:13: error: 'struct request' has no member named 'flags'
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:267:23: error: 'REQ_RW_SYNC' undeclared (first use in this function)
/home/slitaz/wok/zfs/source/zfs-0.6.2/include/linux/blkdev_compat.h:272:8: error: redefinition of 'struct req_iterator'
[/code]
The receipt for building zfs is located in the chroot directory: /home/slitaz/wok/zfs/receipt.
Currently, it looks as following, and doesn't build for whatever reason. Any help and tips are MORE THAN WELCOME!
[code]
# SliTaz package receipt.
PACKAGE="zfs"
VERSION="0.6.2"
CATEGORY="system-tools"
SHORT_DESC="The native Linux kernel port of the ZFS filesystem."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="CDDL GPL2"
WEB_SITE="http://zfsonlinux.org/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://archive.zfsonlinux.org/downloads/zfsonlinux/$PACKAGE/$TARBALL"
DEPENDS="util-linux-uuid zlib"
BUILD_DEPENDS="linux-module-headers spl-src util-linux-uuid-dev"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-linux=/usr/src/linux \
--with-spl=/usr/src/spl-$VERSION \
$CONFIGURE_ARGS &&
make &&
make DESTDIR=$DESTDIR install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
EXTRAVERSION="_${kvers}"
mkdir -p $fs/usr/lib
cp -a $install/usr/sbin $fs/usr
cp -a $install/usr/bin $fs/usr
cp -a $install/usr/lib/lib*so* $fs/usr/lib
cp -a $install/usr/lib/udev $fs/usr/lib
cp -a $install/lib $fs
cp -a $install/sbin $fs
cp -a $install/etc $fs
}
# Post install/remove commands for Tazpkg.
post_install()
{
echo "Processing post-install commands..."
chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz
}
post_remove()
{
echo "Processing post-remove commands..."
chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz
}
[/code]
I'm trying to install Intel video drivers on Centos with this: [url]https://01.org/linuxgraphics/downloads[/url]
I seems I have to compile them some how, I'm not sure how to do this, can some give me a hand with it.
[QUOTE=rilez;44373605]tl;dr Client side decorations are very inconsistent.[/QUOTE]
The CSDs are the only real downfall to GNOME, and even the software with CSDs can be easily replaced with another program. elementary OS looks like it does it better and I'd be very willing to hop to it once it's much more mature.
[t]http://i3.minus.com/ibv6JNJIgNmiiI.png[/t]
[i]An eOS screenshot of the unreleased Isis build.[/i]
[editline]On second thought...[/editline]
Wait, scratch that, client-sided would definitely cause the most inconsistent desktop imaginable. Even the USB boot disk writer I used on Windows didn't look like a Win7 window.
idk if im late, but this script is amazing.
[url]https://github.com/helmuthdu/aui[/url]
[QUOTE=kaukassus;44383862]idk if im late, but this script is amazing.
[url]https://github.com/helmuthdu/aui[/url][/QUOTE]
I tried that, I rebooted and it couldn't boot into Arch.
90% of failed Arch installations end up being because the person installing it forgets to set the boot partition as bootable.
I know that's what happened to me when I gave Arch a try, set it as bootable and worked fine, fairly sure it's not mentioned in the install guides and I just forgot that you have to do that. I think it's not mentioned because I think you don't need to do that if you use GPT? Not sure.
[QUOTE=MasterFen006;44384101]I tried that, I rebooted and it couldn't boot into Arch.[/QUOTE]
Just tried it, and it works as expected.
Just tried it and it deorbited the planet, and we're going to die in the next few months because we'll be too far away from the Sun to receive enough energy to keep the ecosystem going.
Gonna take the plunge and install Elementary OS.
Well, the ZFS thing didn't work out very well, so I'm gonna do some spins and see if I can get something else accepted, not sure if btrfs is a good replacement. I tried it out, and it seems completely different, so I think I'm gonna stick with ZFS where I can. Any tips on a ZFS replacement that doesn't suck?
[QUOTE=nikomo;44384266]Just tried it and it deorbited the planet, and we're going to die in the next few months because we'll be too far away from the Sun to receive enough energy to keep the ecosystem going.[/QUOTE]
Another good reason for me to move in with my girlfriend.
[QUOTE=mastersrp;44384524]Well, the ZFS thing didn't work out very well, so I'm gonna do some spins and see if I can get something else accepted, not sure if btrfs is a good replacement. I tried it out, and it seems completely different, so I think I'm gonna stick with ZFS where I can. Any tips on a ZFS replacement that doesn't suck?[/QUOTE]
What do you want ZFS for?
Btrfs or LVM+Btrfs will basically do everything that ZFS can do, btrfs even has the send/receive functionality, so you can do btrfs send | compression | nc and then nc | decompress | btrfs receive
If you just need to read some files from a ZFS partition, there's a zfs-fuse package in Debian that does, well, ZFS on FUSE.
[QUOTE=Stonecycle;44382713]The CSDs are the only real downfall to GNOME, and even the software with CSDs can be easily replaced with another program. elementary OS looks like it does it better and I'd be very willing to hop to it once it's much more mature.
[t]http://i3.minus.com/ibv6JNJIgNmiiI.png[/t]
[i]An eOS screenshot of the unreleased Isis build.[/i]
[editline]On second thought...[/editline]
Wait, scratch that, client-sided would definitely cause the most inconsistent desktop imaginable. Even the USB boot disk writer I used on Windows didn't look like a Win7 window.[/QUOTE]
I do like certain programs. Like I said, gedit looks great now. The new Totem is a start too, but very buggy and slow. They need to wise up and move the confirms back, makes absolutely no sense.
Speaking of eOS, I think I'm gonna adopt Gala for my project. Kwin is proving too difficult to implement by myself in a non clunky way. Mutter is too boring, but Gala is a nice compromise, with easy GTK implementation.
When GTK is updated on Arch in the next few weeks, I'm going to start working on a package manager for Arch. Sorta like the new Gnome software, but with AUR support. It will be more simple though. I'm just gonna have applications pull icons and descriptions from a DB, like Gnome's, but I'll be adding data for applications that have none. So like a prettier version of Synaptic, really. Maybe have an option to hide technical things like libs and other depends.
Another idea I had was an online sort of "app store". Think Gnome extensions... but Arch apps. This would have screenshots, ratings, etc. Find the thing you want, click install, and then it does it. This is more of a long term idea, but I think it might be cool
[editline]28th March 2014[/editline]
I'm reading up on Gala's documentation. It might just be easier to commit the changes I like from Kwin (tabs) and see what they think.
Tried using Elementary OS, Wireless card wasn't picked up.
ElementaryOS is based off of Ubuntu 12.04 right now, not exactly a surprise if it has trouble using a newer WiFi card.
What WiFi card you got?
Ubuntu has varying success with Broadcom drivers. Try Linux Mint instead. You can install the Elementary desktop on any Ubuntu distro if that's what you want to use
[QUOTE=nikomo;44385178]ElementaryOS is based off of Ubuntu 12.04 right now, not exactly a surprise if it has trouble using a newer WiFi card.
What WiFi card you got?[/QUOTE]
Intel Wireless AC 7260.
Also rilez I tried Linux Mint, my monitor stopped detecting anything when I tried to boot it.
[QUOTE=MasterFen006;44385475]Intel Wireless AC 7260.
Also rilez I tried Linux Mint, my monitor stopped detecting anything when I tried to boot it.[/QUOTE]
boot with nomodeset?
[QUOTE=kaukassus;44385494]boot with nomodeset?[/QUOTE]
Sorry, I'm a retard. How do I do that?
This is for Ubuntu, but Mint is Ubuntu based and should be similar
[url]http://ubuntuforums.org/showthread.php?t=1613132[/url]
[editline]28th March 2014[/editline]
Skip to the part with the keyboard on the screen
[QUOTE=MasterFen006;44385549]Sorry, I'm a retard. How do I do that?[/QUOTE]
it's done via grub, gotta enter the boot options there
[IMG]http://1.bp.blogspot.com/_MlS6fGz-GNE/TIFA3BJF2iI/AAAAAAAAAfI/Drdy_udsgH8/s1600/ubuntukarmic-edit-grub-entr.png[/IMG]
[QUOTE=MasterFen006;44385475]Intel Wireless AC 7260.[/QUOTE]
Apparently they reworked how their drivers work, and it's reportedly working just fine in Linux 3.13, and later.
Guys any clues on how to get drivers on Centos?
[url]https://01.org/linuxgraphics/downloads[/url]
Isn't CentOS the server flavor of Red Hat? Why would you need graphics drivers on a server?
[QUOTE=lavacano;44388493]Isn't CentOS the server flavor of Red Hat? Why would you need graphics drivers on a server?[/QUOTE]It's a workstation and server OS for enterprise and it's more efficient that Ubuntu. I want to use it or Febora on my NUC.
I think I just hit like, 3 corner cases at the same time on my laptop and now it won't boot.
I'm stopping my btrfs recommendations until I can figure out what the fuck happened.
[QUOTE=lavacano;44388493]Isn't CentOS the server flavor of Red Hat? Why would you need graphics drivers on a server?[/QUOTE]
Red Hat is the server flavor - Red Hat Enterprise Linux.
CentOS is a "community version", that doesn't get official support etc., though they announced some changes in support contracts like, last year or something, and you can now get some CentOS support from Red Hat - makes it easier to convince admins to run CentOS in their environments, if they can't get funds for RHEL, instead of something like Debian or Ubuntu.
[editline]29th March 2014[/editline]
Turns out that btrfs exploded because I'm an idiot that runs rc kernels.
I think I might give Arch another try.
[QUOTE=nikomo;44384597]What do you want ZFS for?
Btrfs or LVM+Btrfs will basically do everything that ZFS can do, btrfs even has the send/receive functionality, so you can do btrfs send | compression | nc and then nc | decompress | btrfs receive
If you just need to read some files from a ZFS partition, there's a zfs-fuse package in Debian that does, well, ZFS on FUSE.[/QUOTE]
It isn't experimental like btrfs, I don't have to create "filesystems" on individual disks, I can just plunk another disk in a storage bay and add it to the list of devices to use and it works. It supports filesystems sizes that are guaranteed to not be met in the next decade at the very least, and it's unlikely to ever hit the maximum amount of devices per pool in another millenia. Okay maybe not, but it's pretty fucking high, and only limited by the Linux kernel.
On top of that, zfs-fuse only supports feature flags 23 iirc, and I need 28/5000 or newer, hence why I needed the zfs package to build. I'll still need it to build sometime in the future, considering the data we're working with is on a NAS4Free system right now, which uses feature flags 5000, and so swapping the FreeBSD-based system with a Linux system that supports the same is going to be a requirement for us in the future regardless. I just wanted to hear what alternatives there are. Is btrfs the only one?
Can you guys help me with it? I've tried Ubuntu (noobuntu :v: ) and it's just so slow on the NUC and Fedora crashes.
Sorry, you need to Log In to post a reply to this thread.