LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-19-2007, 03:02 PM   #1
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Rep: Reputation: 17
Boot from Raid Debian Lenny


Hi all, i have this problem, i'm installing Debian Testing (Lenny) With Raid0 (Stripe), using
Code:
install dmraid=true
i've searched serveral pages and all points to the same thing. Grub doesn't support boot from raid, to do that you have to do it manually, but there is my problem, i manage to partition the raid ok and install the OS normal, but when grub pop the error i did what appear in this tutorial.

http://wiki.debian.org/DebianInstaller/SataRaid

Code:
 grub  --device-map=/dev/null
grub> device (hd0,<1>) /dev/mapper/<isw_dhiiedgihc_Volume02>
grub> device (hd0) /dev/mapper/<isw_dhiiedgihc_Volume0>
grub> root (hd0,<1>)
grub> setup (hd0)
grub> quit
and

Code:
From a console: 

chroot /target 

mkdir /boot/grub (The kernel should already be installed by now) 

cd /usr/lib/grub/{ARCH}/ (Change to the architecture of your system.) 

cp stage1 stage2 e2fs_stage1_5 /boot/grub (I only had ext3 file systems so if you have others like reiser, you may need to copy additional files from this location.) 

Within the grub menu: 

device (hd0) /dev/mapper/<isw_XXX_Volume0> (Change this to whatever is appropriate) 

device (hd0,0) /dev/mapper/<isw_XXX_Volume0> (Change this to whatever is appropriate) 

root (hd0,0) 

setup (hd0) 

quit 

Within the console again: 

update-grub 

At this point, flip back to the installer, finish without installing a boot loader, and reboot
The 1st method doesnt work and 2nd was ok until i do the update-grub, then the machine freeze. I have a Asus 8n32-sli-deluxe mobo and using the nvidia raid, wich means /dev/mapper/nvidia_xxxxxx

Thanks for any help

Isaac Abouganem

Last edited by pliqui; 11-19-2007 at 03:04 PM. Reason: forgot info
 
Old 11-19-2007, 04:10 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Typically I save myself these headaches and just create a small non-raid /boot partition of type ext3 (I actually make my main / filesystem non-raid, and then only raid the data partitions).
 
Old 11-19-2007, 04:41 PM   #3
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
Well, ther most be a way, the debian way just the path is kinda dark lol. I just tried another thing and nothing. I was installing on 1 primary partition / and 1 logical for swap. Now i did

primary ext3 /
primary ext3 /boot
logical swap

This time the grub installed fine but still couldnt boot, of course, grub doesnt support raid yet, but i had to this, i'm bagging my head since 9:00 am today, i need to work on my grade thesis but i still want the raid.

If anyone know something i will appreciate a lot.

Thx all

Last edited by pliqui; 11-19-2007 at 04:42 PM. Reason: typo
 
Old 11-19-2007, 04:47 PM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Have you gone through the raid section of the Debian installation guide? http://www.debian.org/releases/stabl...d-partman-raid
 
Old 11-19-2007, 04:51 PM   #5
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
This link has a menu.lst you might be able to hack.
 
Old 11-19-2007, 05:03 PM   #6
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
yes, this is my last line of defense jeje, really appreciate, make me feel i'm not alone jajaja. i did my and thanks for the link to hack the menu.lst. When i did the update-grub appear something about not having menu.lst and if i wanted the system make one, this is when it freez, i cant hit yes or no. Just hang up.

hardware compatibility check
http://linuxmafia.com/faq/Hardware/sata.html#nvidia

Read Some documentation about raids and related stuff check
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html#toc1

Got more links but close them cuz i need to go to college, when i get back will try another stuffs. Atm, i just have 1 more hdd wich is full, i just bought 2 WD 500g from amazon, but i live in venezuela and send it 3 to 5 days to my po.box, then the customs process jeje. They will take a while to install linux in 1 hdd and get raid for data.

Any help or suggestion is good and could help to detectc something i missed.

<3 all

Last edited by pliqui; 11-19-2007 at 05:07 PM. Reason: typo
 
Old 11-19-2007, 05:10 PM   #7
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
1 stupid question since is the 1st time happening to me in all this months with debian, to avoid to do a full instalation again, how i can boot into failsafe or rescue from the DVD. I know typing
Code:
install rescue
do it, but since i'm having a raid is not working. I dont have a floppy drive. So must be cd or pen drive.
 
Old 11-20-2007, 10:41 AM   #8
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
K, i manage to boot now from raid, i dont know if is 100% operative, i had to unplugg the IDE hdd and install only with the 2 sata

i used again and configured the raid in BIOS
Code:
install dmraid=true
grub installed perfectly but when i start booting this errors appear, but still can log into debian and seens to work fine.

After selecting the kernel in grub (got that from demsg)
Code:
Linux version 2.6.22-2-amd64 (Debian 2.6.22-4) (waldi@debian.org) (gcc version 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)) #1 SMP Thu Aug 30 23:43:59 UTC 2007
Command line: root=/dev/mapper/nvidia_aheeibdi2 ro quiet 
.
.
.
sd 2:0:0:0: [sda] 156250000 512-byte hardware sectors (80000 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:0: [sda] 156250000 512-byte hardware sectors (80000 MB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 < sda5 > sda2
 sda: p2 exceeds device capacity
sd 2:0:0:0: [sda] Attached SCSI disk
sd 3:0:0:0: [sdb] 156247887 512-byte hardware sectors (79999 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdb] 156247887 512-byte hardware sectors (79999 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: unknown partition table
sd 3:0:0:0: [sdb] Attached SCSI disk
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
Buffer I/O error on device sda2, logical block 311291264
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
Buffer I/O error on device sda2, logical block 311291265
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
Buffer I/O error on device sda2, logical block 311291266
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
Buffer I/O error on device sda2, logical block 311291267
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
Buffer I/O error on device sda2, logical block 311291268
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
Buffer I/O error on device sda2, logical block 311291269
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
Buffer I/O error on device sda2, logical block 311291270
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
Buffer I/O error on device sda2, logical block 311291271
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
Buffer I/O error on device sda2, logical block 311291264
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
Buffer I/O error on device sda2, logical block 311291265
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480307, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480308, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480309, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480310, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480311, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480312, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480313, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480314, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480307, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480308, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480309, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480310, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480311, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480312, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480313, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480314, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480251, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480252, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480253, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480254, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480255, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480256, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480257, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480258, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480299, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480300, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480301, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480302, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480303, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480304, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480305, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480306, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
.
.
.
EXT3-fs: mounted filesystem with ordered data mode.
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
printk: 53 messages suppressed.
Buffer I/O error on device sda2, logical block 311291264
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480307, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480308, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480309, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480310, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480311, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480312, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480313, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480314, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480307, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480308, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480309, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480310, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480311, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480312, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480313, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480314, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480251, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480252, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480253, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480254, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480255, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480256, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480257, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480258, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480299, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480300, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480301, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480302, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480303, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480304, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480305, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480306, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
.
.
.
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
printk: 62 messages suppressed.
Buffer I/O error on device sda2, logical block 311291264
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
Buffer I/O error on device sda2, logical block 311291265
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
Buffer I/O error on device sda2, logical block 311291266
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
Buffer I/O error on device sda2, logical block 311291267
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
Buffer I/O error on device sda2, logical block 311291268
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
Buffer I/O error on device sda2, logical block 311291269
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
Buffer I/O error on device sda2, logical block 311291270
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
Buffer I/O error on device sda2, logical block 311291271
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
Buffer I/O error on device sda2, logical block 311291264
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
Buffer I/O error on device sda2, logical block 311291265
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480075, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480076, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480077, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480078, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480079, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480080, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480081, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480082, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480307, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480308, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480309, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480310, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480311, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480312, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480313, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480314, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480307, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480308, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480309, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480310, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480311, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480312, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480313, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480314, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480251, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480252, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480253, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480254, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480255, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480256, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480257, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480258, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480299, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480300, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480301, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480302, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480303, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480304, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480305, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480306, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
attempt to access beyond end of device
sda: rw=0, want=312480315, limit=156250000
when i do
Code:
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/nvidia_aheeibdi2
                      147G  2.4G  137G   2% /
tmpfs                 1.3G     0  1.3G   0% /lib/init/rw
udev                   10M  100K   10M   1% /dev
tmpfs                 1.3G     0  1.3G   0% /dev/shm
/dev/mapper/nvidia_aheeibdi5
                       92M   20M   67M  24% /boot
As you can see, 147g for /, 100mb for /boot and is missing the 512 mb for /swap

i want to know if this is right or there is something missing, i know this is not 100% safe but since i'm not running a server, i can experiment.

Thanks for any help.

Isaac Abouganem
 
Old 11-21-2007, 03:44 AM   #9
djcs
Member
 
Registered: Jun 2006
Posts: 43

Rep: Reputation: 15
Raid 0

I do run raid 0 for debian lenny and i have found the safest and easiest way to do it is to load a 3 drive up as /boot and mbr and then the kernel will load the required modules to "see" the raid card.
From what i have found, this is the limit grub has, as it doesn't have "drivers" or anything for raid devices.

I have been running this system in many states of debian over the past couple of years, and using the above config, i have had some issues, but all easily resolvable as the system will always boot to a system of usability due to the /boot partition being on a separate drive.

One issue i have had on an msi 945p neo platinum (it has 3 pata ports and 4 sata ports each with there own raid chipset) is that if i boot, it will sometimes assign my hard drives in a different order, and then wont fully boot, so i simply login with my password and reboot the system once or twice till it gets it right.

I believe this is a quirk with the 2 diff raid chipsets and hope to shortly drop 2 sata drives in and raid them, take out the 2 pata raided drives and leave the original boot drive alone, fingers crossed it solves this niggling issue.

Good luck with you raid.

DJ
 
Old 11-22-2007, 12:17 PM   #10
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Original Poster
Rep: Reputation: 17
Thank you for the response, yea, i will do that as soon my 2 500gb hdd came, so far its running very smooth but still dont wanna transfer all the data to the hdd jeje will wait for the new guys to have some backup just in case.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to mount /root on boot after upgrade to lenny: boot hangs MrInept Debian 7 10-29-2008 11:21 AM
Debian Lenny on AMB64? jlinkels Debian 4 11-18-2007 08:45 PM
2.6.22 cpufreqd does not work, (Debian lenny) kaz2100 Linux - Kernel 1 09-20-2007 03:12 PM
debian "lenny" nvidia nforce4 software raid 10 gariac Linux - Hardware 0 08-09-2007 02:49 AM
RAID boot problem with Debian mike3k Linux - Hardware 1 10-02-2004 07:05 PM


All times are GMT -5. The time now is 08:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration